Write a program that take three variable and sum the first two variable and store its value in third one variable
Program/Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 | org 100h .data A dd 0x12345678 B dd 0x87654321 C dd 0 .code mov ax, A+0 add ax, B+0 mov bx, A+2 adc bx, B+2 mov c+0, ax mov c+2, bx ret |
No comments:
Post a Comment