Friday, November 26, 2021

write program for this expression B = 3 x B + 7

include irvine32.inc

.386

.stack 4096

Exitprocess proto,dwExitcode:dword

.data

B dword 5

.code

main proc

mov eax,B

mov ebx,3

mul ebx

add eax,7

call writeint

call dumpregs

invoke Exitprocess,0

main endp

end main 

No comments:

Post a Comment