主题:简化定义和子函数
.model small
.386
.stack 256H
.data
String db 'I LOVE xiamen UNIVERSITY',10,13,'$'
.code
.startup
mov ax,@data;
mov dx,ax;
lea dx,string;
call output;
.exit 0
end ;
;----------------------------------
output proc near
mov ah,09h;
int 21h;
ret
output endp;
;----------------------------------
为什么编译时,把子函数output当成symbol,output 未定义
.386
.stack 256H
.data
String db 'I LOVE xiamen UNIVERSITY',10,13,'$'
.code
.startup
mov ax,@data;
mov dx,ax;
lea dx,string;
call output;
.exit 0
end ;
;----------------------------------
output proc near
mov ah,09h;
int 21h;
ret
output endp;
;----------------------------------
为什么编译时,把子函数output当成symbol,output 未定义