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
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]