📄 main.lst
字号:
Microsoft (R) Macro Assembler Version 5.00 12/1/8 Page 1-1
extrn read:far
0000 data segment
= 000A count = 10
0000 000A[ array dw count dup(0)
0000
]
0014 data ends
0000 Code segment
assume cs: Code,ds:data
0000 B8 ---- R start: mov ax,data
0003 8E D8 mov ds,ax
0005 B9 000A mov cx,count
0008 BB 0000 R mov bx,offset array
000B 9A 0000 ---- E again: call read
0010 89 07 mov [bx],ax
0012 43 inc bx
0013 43 inc bx
0014 B4 02 mov ah,2
0016 B2 0A mov dl,0ah
0018 CD 21 int 21h
001A B4 02 mov ah,2
001C B2 0D mov dl,0dh
001E CD 21 int 21h
0020 E2 E9 loop again
0022 B8 4C00 mov ax,4c00h
0025 CD 21 int 21h
0027 Code ends
end start
Microsoft (R) Macro Assembler Version 5.00 12/1/8 Symbols-1
Segments and Groups:
N a m e Length Align Combine Class
CODE . . . . . . . . . . . . . . 0027 PARA NONE
DATA . . . . . . . . . . . . . . 0014 PARA NONE
Symbols:
N a m e Type Value Attr
AGAIN . . . . . . . . . . . . . L NEAR 000B CODE
ARRAY . . . . . . . . . . . . . L WORD 0000 DATA Length = 000A
COUNT . . . . . . . . . . . . . NUMBER 000A
READ . . . . . . . . . . . . . . L FAR 0000 External
START . . . . . . . . . . . . . L NEAR 0000 CODE
@FILENAME . . . . . . . . . . . TEXT main
26 Source Lines
26 Total Lines
9 Symbols
50162 + 451070 Bytes symbol space free
0 Warning Errors
0 Severe Errors
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -