I've been trying to print a new line while also printing the alphabet using assembly language in nasmide for the past few days and can't get it, what I've tried so far has either printed nothing, printed just A or printed a multitude of symbols, Google hasn't been helpful to me so I decided to post here.
My code so far is
CR equ 0DH
LF equ 0AH
main:
mov AH,02H
mov CX,26
mov DL, 'A'
while1:
cmp DL, 'A'
add DL, 01H
int 21H
mov DL, 0DH
mov DL, 0AH
int 21H
cmp DL, 'Z'
je Next
jmp while1
Next:
mov AH,4CH
int 21h