The output should be
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
XXXXXXXXXX
5x10 OR 10x5
The requirement is that there should be LOOP, INC AND/OR DEC only.
This is what I did, the result is infinite loop:
.model small
.stack
.code
start:
mov ah, 02h
mov cx, 10
l1:
mov bx, 12 ; loop pababa n bente
l2:
mov dl,78h
int 21h
loop l2
dec bx
mov dl, 0dh ; carriage return
int 21h
mov dl, 0ah ;line feed
int 21h
mov cx, bx
loop l1
mov ah, 4ch
int 21h
end start