Рет қаралды 331
Topics: WORD, DWORD, MOVSX, MOVZX
.
.
Material Link: www.dropbox.co...
.
CODE:
;-- Arithematic Expression
;-- (20+30) - (10+15)
.386
.model flat, stdcall
.stack 4096
include Irvine32.inc
;-- Data segment to make variables
.data
v1 sword -10
v2 dword 20
;-- code segment starts here
.code
main proc
movsx eax, v1
add eax,v2
call dumpregs
invoke ExitProcess,0
main endp
end main