I'm trying to display a message several times.
I used nasm and I used this program :
MOV cx, 1
mov ax, 10
re:
CMP ax, cx
JS fin
mov dx, texte
INC cx
JMP re
fin:
Int 21h
texte: db 'Hello, World !!'
I'm trying to display a message several times.
I used nasm and I used this program :
MOV cx, 1
mov ax, 10
re:
CMP ax, cx
JS fin
mov dx, texte
INC cx
JMP re
fin:
Int 21h
texte: db 'Hello, World !!'
Currently you invoke int 21h
only at the bottom.
Try to move it into the loop.
Also, it's been a really long time since I last did anything in assembly but you probably also need to prepare some registers to determine what int 21h
would do. See more info here: http://spike.scu.edu.au/~barry/interrupts.html#ah09
Couple more things: