gu
TITLE Add and Subtract, Version 2 (AddSub2.asm)
; This program adds and subtracts 32-bit unsigned
; integers and stores the sum in a variable.
INCLUDE Irvine32.ind
data
val1 DWORD 10000h
val2 DWORD 40000h
valB DWORD 20000h
finalVal DWORD 2
NNNN
code
main PROG
mov
eax vall
add eax val2
sub
eax Nalz
mov finalval eax
F start with 10000h
Hadd 40000h
subtract 20000h
; store the result (30000h)
Trum
wwwwww
; display the registers
call DumpRegs
exit
main ENDP
END main
Answers
Answered by
0
Answer:
omg omg omg omg omg omg
onno know milk jnu
Similar questions