|
nathaniel@myself:~/cvs$ cat test1.asm
CSEG SEGMENT
ASSUME CS:CSEG
START:
MOV AL,DATA
DATA DB 0F
CSEG ENDS
END START
nathaniel@myself:~/cvs$ as86 test1.asm
00001 0000 2E CSEG SEGMENT
***** junk after operands...............................^
00002 00000001> ASSUME CS:CSEG
***** register used as identifier...............................^
***** illegal label.............................................^
00005 0004 00 DATA DB 0F
***** junk after operands................................................^
***** illegal label......................................................^
00006 0005 2E CSEG ENDS
***** junk after operands...............................^
00001 0000 2E CSEG SEGMENT
***** junk after operands...............................^
***** junk after operands...............................^
00002 00000001> ASSUME CS:CSEG
***** register used as identifier...............................^
***** illegal label.............................................^
00005 0004 00 DATA DB 0F
***** junk after operands................................................^
***** illegal label......................................................^
00006 0005 2E CSEG ENDS
***** junk after operands...............................^
00007 errors
00000 warnings
帮手看看,我首次在linux下用汇编,不知道跟windows有什么不同 |
|