Type in the [login to view URL] program and get it working.
Then add something else that is interesting to it.
Tell me what you added to the program.
This program will let you experiment with addition, subtraction, increment, decrement and negate commands.
You can do some more arithmetic in your version of the program.?
TITLE Addition and Subtraction
INCLUDE [login to view URL]
Rval SDWORD ?
Xval SDWORD 26
Yval SDWORD 30
Zval SDWORD 40
; INC and DEC
inc ax ; 1001h
dec ax ; 1000h
; Expression: Rval = -Xval + (Yval - Zval)
neg eax ; -26
; Zero flag example:
; Sign flag example:
; Carry flag example:
; Overflow flag example:
exit main ENDP
12 freelancer đang chào giá trung bình $30 cho công việc này
Hi, I know assembly language. But i use NASM assembler (32 bit x86 architecture). Do you want any program in assembly, please PM me. I can write and explain it for you Regards, Anoop S