write an assembly language program to add 13 H and 08 H. ( 4marks)June/July 2020
JemshahEnlightened
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is an example of an assembly language program to add two hexadecimal numbers, 13H and 08H:
; Load 13H into register A
MOV A, #13H
; Load 08H into register B
MOV B, #08H
; Add the contents of register A and register B, and store the result in register A
ADD A, B
; End of program
This program would add the two hexadecimal numbers 13H and 08H, and store the result (1BH) in register A.