0.LST
上传用户:wangli324
上传日期:2020-01-06
资源大小:105k
文件大小:2k
- Microsoft (R) Macro Assembler Version 5.00 12/17/9 Page 1-1
- 0000 data segment
- 0000 9D bin db 10011101b
- 0001 03 buff db 3dup(0)
- 0.ASM(3): error A2009: Symbol not defined: UP
- 0002 data ends
- 0000 code segment
- assume cs:code,ds:data
- 0000 start:
- 0000 B8 ---- R mov ax,data
- 0003 8E D8 mov ds,ax
- 0005 A0 0000 R mov al,bin
- 0008 8A E0 mov ah,al
- 000A 24 07 and al,00000111b
- 000C A2 0003 R mov [buff+2],al
- 000F 8A C4 mov al,ah
- 0011 B1 03 mov cl,3
- 0013 D2 E8 shr al,cl
- 0015 24 07 and al,00000111b
- 0017 A2 0002 R mov [buff+1],al
- 001A 8A C4 mov al,ah
- 001C D2 E8 shr al,cl
- 001E 24 07 and al,00000111b
- 0020 A2 0001 R mov [buff],al
- 0023 BE 0000 U mov si,offset buf
- 0.ASM(23): error A2009: Symbol not defined: BUF
- 0026 pp:
- 0026 8A 94 0001 R mov dl,buff[si]
- 002A 80 C2 30 add dl,30h
- 002D B4 02 mov ah,02h
- 002F CD 21 int 21h
- 0031 46 inc si
- 0032 E2 F2 loop pp
- 0034 B8 4C00 mov ax,4c00h
- 0037 CD 21 int 21h
- 0039 code ends
- end start
- Microsoft (R) Macro Assembler Version 5.00 12/17/9 Symbols-1
- Segments and Groups:
- N a m e Length Align Combine Class
- CODE . . . . . . . . . . . . . . 0039 PARA NONE
- DATA . . . . . . . . . . . . . . 0002 PARA NONE
- Symbols:
- N a m e Type Value Attr
- BIN . . . . . . . . . . . . . . L BYTE 0000 DATA
- BUFF . . . . . . . . . . . . . . L BYTE 0001 DATA
- PP . . . . . . . . . . . . . . . L NEAR 0026 CODE
- START . . . . . . . . . . . . . L NEAR 0000 CODE
- @FILENAME . . . . . . . . . . . TEXT 0
- 34 Source Lines
- 34 Total Lines
- 8 Symbols
- 50296 + 416312 Bytes symbol space free
- 0 Warning Errors
- 2 Severe Errors