试验9
一直有个问题很困扰,就是在dos下我这个用t命令不能输出到屏幕中,但是用 e es: ax这里简写的,就可以输出,难道是直接t命令直接把原先我写的给刷新了?assume cs:code,ds:data
code segment
data segment
db 3 dup('welcome to masm')
db 15 dup(01110010b);黑是111白是000对应RGB
db 15 dup(00100100b)
db 15 dup(00000001b)
data ends
data1 segment
data1 ends
start:mov ax,data
mov ds,ax
mov ax,0b800h
mov es,ax
mov bx,0
mov cx,45
s:
mov al,
mov ah,45
mov es:,ax
inc bx
add si,2
loop s
mov ax,4c00h
int 21h
code ends
end start
页:
[1]