主题:一个简单的汇编程序请找错
code segment
mess1 db 21
mess2 db 34
mess3 db ?
code ends
data segment
assume cs: code,ds:data ,es:data
start:
mov bx ,ax
mov ax ,mess1
mov bx, mess2
add ax,bx
mov mess3,ax
mov ah ,4ch
int 21h
code ends
end start
mess1 db 21
mess2 db 34
mess3 db ?
code ends
data segment
assume cs: code,ds:data ,es:data
start:
mov bx ,ax
mov ax ,mess1
mov bx, mess2
add ax,bx
mov mess3,ax
mov ah ,4ch
int 21h
code ends
end start