mirror of
https://github.com/NishiOwO/JWasm.git
synced 2025-04-22 01:04:39 +00:00
27 lines
382 B
Plaintext
27 lines
382 B
Plaintext
|
|
;--- arithmetic instructions
|
|
;--- second operand is immediate and too large
|
|
|
|
.386
|
|
.model flat
|
|
|
|
.code
|
|
|
|
vb label byte
|
|
vw label word
|
|
vd label dword
|
|
|
|
add al,100h
|
|
add cl,100h
|
|
add vb,100h
|
|
|
|
add ax,10000h ;accepted by Masm
|
|
add cx,10000h ;accepted by Masm
|
|
add vw,10000h ;accepted by Masm
|
|
|
|
add eax,100000000h
|
|
add ecx,100000000h
|
|
add vd, 100000000h
|
|
|
|
end
|