To show the operation of your program and to verify thecalculation results, you should use theprocedures WriteString and WriteInt todisplay the result.
Assembly Language MASM.
INCLUDE Irvine32.inc
.data
.code
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.code
main proc
mov eax,180
mov ebx,130
mov ecx,60
mov edx,40
add eax,ebx
add ecx,edx
sub eax,ecx
invoke ExitProcess,0
main endp
end main
To show the operation of your program and to verify the calculation results, you should use the procedures WriteString a
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
To show the operation of your program and to verify the calculation results, you should use the procedures WriteString a
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!