新手求解 关于RadASM
1.data segment2.intstr db 'Please input a char',0dh,0ah,'$'
3.outstr db 0dh,0ah,"It's bog char is",0dh,0ah,'$'
4.data ends
5
6.code segment
7. assume cs:code,ds:data
8.start:
9 mov ax,data
10 mov ds,ax;
11
12 mov dx.offset intstr;
13 mov ah,9
14 int 21h
15
16 mov ah,1
17 int 21h
18 sub al,32;
19 push ax;
20
21 mov dx,offset outstr
22 mov ah,9
23 int 21h
24
25 pop ax;
26 mov dl,al
27 mov ah,2
28 int 21h
29 mov ah,4ch
30 int 21h
31.code ends
32 end start
在radasm编译时出现错误 求解
e:\RadASM\Masm32\Bin\ML.EXE /c /coff /Cp /nologo /I"e:\RadASM\Masm32\Include" "int.asm"
Assembling: int.asm
int.asm(12) : error A2008: syntax error : in instruction
int.asm(9) : error A2004: symbol type conflict
int.asm(32) : warning A4023: with /coff switch, leading underscore required for start address : start