Friday, November 26, 2021

write program for this expression A = – (A + 1)

include irvine32.inc

.386

.stack 4096

Exitprocess proto,dwExitcode:dword

.data

A dword 4

.code

main proc

mov eax,A

add eax, 1

neg eax

call writeint

call dumpregs

invoke Exitprocess,0

main endp

end main 

No comments:

Post a Comment