answersLogoWhite

0


Best Answer

xchg- Exchange contents of specified destination and source operands.

eg. XCHG AL, CL Exchange contents of Al with CL

XCHG BP, SI Exchange contents of BP with SI

xlat- It is a translate instruction used for code conversion using look up table technique

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the function of xchg and xlat in 8086?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is xlat in 8086?

XLAT instruction converts the contents of AL register into a number stored in a memory table,this instruction perform the direct table look up technique often used to convert one code to another.An XLAT instruction 1st add the contents of this AL to BX to form a memory address within a data segment .It then copies the contents of this address into AL.This is the only instruction that adds an 8 bit number to 16-bit number.


What is Bios function call in 8086 microprocessor?

The BIOS function in the 8086 microprocessor is called an interrupt function. It is an interrupt function because it is not called by a function call instruction.


Why do you use XLAT in 8086?

XLAT introduces the concept of a "dictionary lookup." It is technically the same as "mov al,[ds:bx+al]", but with fewer bytes of instruction, and requiring fewer clock cycles. A developer might use this when determining which dynamic function to call based on some condition, or use it to look up the value of a byte in a certain memory area, or even when using it as a simple Ceasar cipher encoder/decoder (for elementary encryption of code, perhaps, as it'd be fairly useless for actual encryption).


How many states for xchg instruction?

The XCHG instuction takes 6 states to execute.


What is the function of pin's1 and 20 in 8086 microprocessor?

Pins 1 and 20 in the 8086 microprocessor are (both) power and signal ground (GND).


What is the function of the PC register in the 8086 CPU?

There is no PC register in the 8086/8088. It is called the IP register by Intel and it stands for the Instruction Pointer. It contains the address of the current/next instruction to be executed.


How many machine cycles in the XCHG instruction?

Summary − So this instruction XCHG requires 1-Byte, 4-Machine Cycles (Opcode Fetch) and 4 T-States for execution as shown in the timing diagram.


Explain the function of BIU and EU in 8086?

biu stands for bus interface unit and eu stands for execution unit. In 8086 microprocessor BIU fetches the instructions and places in the queue. The Eu executes the fetched instruction and places the result in the registers


Which IC is used as clock generator in 8086?

The 8086 Microprocessor operate to require frequency that is provided by clock generator to 8086 Microprocessor and also Synchronization various component of 8086.


What are applications of 8086 microprocessor?

8086 main application is to evaluate the arithmetic operations in any systems that uses 8086


Which is better in 8086 and 8051?

If you mean greater (more) 8086.


Purpose of program counter in a microprocessor is?

In 8085 program counter stores the address of the next instruction which is to be fecthed.same function is performed by instruction pointer in 8086.