Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
516 views
in Technique[技术] by (71.8m points)

assembly - 特定时间停止的TASM动画(TASM Animation with a specific time stop)

Im very new in this assembly language can you guys help me i want it to stop at a specific time

(我是这种汇编语言中的新手,你们能帮我吗,我想让它在特定时间停止)

.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
    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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...