Output character in assembly

Posted by lolopolosko on Stack Overflow See other posts from Stack Overflow or by lolopolosko
Published on 2012-12-09T16:28:46Z Indexed on 2012/12/09 17:04 UTC
Read the original article Hit count: 276

Filed under:
|
|

Please help me! How i can output character that moves around the perimeter of a rectangle (10*5 or 15*7) in console with TASM?

.MODEL small
.STACK 100h
.CODE   
start:
    mov ah,03
    int 10h      
    mov cx,10   

    A:
    push cx

    mov ah,03
    int 10h 

    mov ah,02h
    inc dl
    int 10h

    mov al,42
        int 29h 

    pop cx
    LOOP A

        mov  ah,4ch                   
        int  21h

end start

I do not know how to solve the problem...

© Stack Overflow or respective owner

Related posts about Windows

Related posts about assembly