Professional Documents
Culture Documents
Microprocessor Lab
Microprocessor Lab
Microprocessor Lab
r Lab File
Submitted to Submitted by:
SID: 16104100
GROUP: EE4
1|Page
EXPERIMENT 1
AIM: To perform addition of 2 hexadecimal
numbers in 8086 microprocessor
Press Reset button on the microprocessor, press Enter key and press A on
the keyboard.
2|Page
A 0000:0400. Press Enter key
MOV AX, EE00. Press Enter key
MOV BX, 0055. Press Enter key
ADD AX,BX. Press Enter key
MOV [2000], AX. Press Enter key
HLT. Press Enter key
Press Reset button and G on the keyboard.
G 0000:0400
To see the result press Reset button and D on keyboard.
D 0000:2000
Result: EE55
Note: Sum comes as 55EE IN case (ii) because [2000] address is 8 bit only
therefore EE is stored at location [2001].
EXPERIMENT 2
3|Page
AIM: To perform subtraction of 2 hexadecimal
numbers in 8086 microprocessor
Press Reset button on the microprocessor, press Enter key and press A on
the keyboard.
Note: Difference comes as BC9A in case (ii) because [2000] address is 8-bit
therefore 9A is stored in location [2001].
5|Page