Thursday, December 6, 2018

What is Microprocessor 8086 Instruction Sets

  • Data Transfer Instructions
  • Arithmetic Instructions
  • Bit Manipulation Instructions
  • String Instructions
  • Program Execution Transfer Instructions (Branch & Loop Instructions)
  • Processor Control Instructions
  • Iteration Control Instructions
  • Interrupt Instructions
Let us now discuss these instruction sets in detail.

Data Transfer Instructions

These instructions are used to transfer the data from the source operand to the destination operand. Following are the list of instructions under this group −

Instruction to transfer a word

  • MOV − Used to copy the byte or word from the provided source to the provided destination.
  • PPUSH − Used to put a word at the top of the stack.
  • POP − Used to get a word from the top of the stack to the provided location.
  • PUSHA − Used to put all the registers into the stack.
  • POPA − Used to get words from the stack to all registers.
  • XCHG − Used to exchange the data from two locations.
  • XLAT − Used to translate a byte in AL using a table in the memory.

Instructions for input and output port transfer

  • IN − Used to read a byte or word from the provided port to the accumulator.
  • OUT − Used to send out a byte or word from the accumulator to the provided port.

Instructions to transfer the address

  • LEA − Used to load the address of operand into the provided register.
  • LDS − Used to load DS register and other provided register from the memory
  • LES − Used to load ES register and other provided register from the memory.

Instructions to transfer flag registers

  • LAHF − Used to load AH with the low byte of the flag register.
  • SAHF − Used to store AH register to low byte of the flag register.
  • PUSHF − Used to copy the flag register at the top of the stack.
  • POPF − Used to copy a word at the top of the stack to the flag register.
https://www.tutorialspoint.com/index.htm

No comments:

Post a Comment