-
-
[旧帖]
[原创]关于汇编实现32相加的问题
0.00雪花
-
发表于:
2007-4-6 07:48
4327
-
[旧帖] [原创]关于汇编实现32相加的问题
0.00雪花
code segment
assume cs:code
start:
mov eax,01234567890123456789012345678901h
mov ebx,12345678901234567890123456789012h
add ebx,eax
lahf
cmp al,10000000h
jbg oveflow
push ebx
mov ax,4c00h
int 21h
oveflow: push 1
push ebx
mov ax,4c00h
int 21h
code ends
end start
报错内容:
add32.ASM(4): error A2009: Symbol not defined: EAX
add32.ASM(5): error A2009: Symbol not defined: EBX
add32.ASM(6): error A2009: Symbol not defined: EBX
add32.ASM(8): error A2029: Division by 0 or overflow
add32.ASM(9): error A2105: Expected: instruction or
add32.ASM(10): error A2009: Symbol not defined: EBX
add32.ASM(13): error A2006: Phase error between pass
add32.ASM(14): error A2009: Symbol not defined: EBX
愣是不明白哪里错了
呵呵
还望大家指教
不胜感激
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)