Page 1 of 1

Demonstrate SAP-2 Assembly language programing for the following objective: Take a input byte from port-2. If the MSB bi

Posted: Tue Jul 12, 2022 8:04 am
by answerhappygod
Demonstrate Sap 2 Assembly Language Programing For The Following Objective Take A Input Byte From Port 2 If The Msb Bi 1
Demonstrate Sap 2 Assembly Language Programing For The Following Objective Take A Input Byte From Port 2 If The Msb Bi 1 (36.77 KiB) Viewed 180 times
Demonstrate SAP-2 Assembly language programing for the following objective: Take a input byte from port-2. If the MSB bit of the input byte is 1, add the hexadecimal values 5H and 6H to it; otherwise, subtract 6H from 5H. The final result should be kept at memory address 5000H. [Note down comments after every assembly instruction]