org 100h
mov al, 1
mov bh, 0
mov dl, 60
mov dh, 10
push cs
pop es
mov ah, 13h
int 10h
mov bx, 0 ; total step counter.
mov cx, 2
k1: add bx, 1
mov al, '8'
mov ah, 0eh
int 10h
push cx
int 10h
loop k1 ; internal in internal loop.
int 20h
MOV AL, var1
MOV BX, var2
RET ; stops the program.
VAR1 DB 7
var2 DW 1234h
MOV AL, 2
CMP AL, 3
JAE label1
JMP exit
label1:
exit:
RET
Tidak ada komentar:
Posting Komentar