Loop in Assembly Language


TITLE LOOP IN ASSEMBLY LANGUAGE
.model small
.stack

.code
mov bl,10
L1:
MOV AH,2H;PRINT 'A'
MOV DL,'A'
INT 21H
DEC bL
JNZ L1

MOV AH,4CH
INT 21H
end

See another way for

Loop in Assembly Language

No comments:

Post a Comment