0
4.6kviews
Explain any five instruction of 8086 microprocessor with suitable examples.
1 Answer
2
227views
written 5.7 years ago by | modified 5.7 years ago by |
The five instructions of 8086 microprocessor and their operations will be as follow:
1. MOV AL, BL ; AL $\leftarrow$ BL
copy byte from (BL) Register to (AL) Register.
2. ADD AX , BX ; AX $\leftarrow$ AX + BX
Add 16 bit word from AX with BX and store result in AX.
3. MOVSB ; DS : [ S I ] $\rightarrow$ ES : [ D I ]
This instruction moves a string byte from memory location DS : [SI] to memory location ES : [DI].
4. STDSB ; (AL) $\leftarrow$ ES : [ D I ]
This instruction stores a string byte from accumulator (AL) into memory location ES : CD
5. LAHF ; (AH) $\leftarrow$(flag LB)
This instruction loads (AH) register with lower byte of flag register.
ADD COMMENT
EDIT
Please log in to add an answer.