masm3.0环境下编写 文件后缀名.asm
部分代码:
.486
DATA SEGMENT USE16
BNUM DW 0001001000110100B ;1234H
DW 0101011001111000B ;5678H
DW 0001101000101011B ;1A2BH
DW 0011110001001101B ;3C4DH
BUF DB 4 DUP(?),'H $'
COUNT DB 4
DATA ENDS
CODE SEGMENT USE16
ASSUME CS:CODE,DS:DATA
BEG: MOV AX,DATA
MOV DS,AX
MOV CX,4
MOV BX,OFFSET BNUM
1