Im very new in this assembly language can you guys help me
(我是这种汇编语言的新手,你们可以帮我吗)
.model small
.stack
.code
org 100h
start:
main proc
mov cx,1; how many times to loop
here:mov al,00000001b
mov dx,378h
out dx,al
call delay
mov al,00000010b
mov dx,378h
out dx,al
call delay
mov al,00000100b
mov dx,378h
out dx,al
call delay
mov al,00001000b
mov dx,378h
out dx,al
call delay
mov al,00010000b
mov dx,378h
out dx,al
call delay
mov al,00100000b
mov dx,378h
out dx,al
call delay
mov al,01000000b
mov dx,378h
out dx,al
call delay
mov al,10000000b
mov dx,378h
out dx,al
call delay
loop here
int 20h
main endp
delay proc
push cx
mov cx,2050
delay2:
push cx
mov cx,10000
delay3:
nop
nop
nop
nop
nop
loop delay3
pop cx
loop delay2
pop ax
ret
delay endp
end start
this is my code
(这是我的代码)
ask by Mish Bordeos translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…