Hello, I'm trying to write a code using intel 8086 assembly language the code should, display integers numbers multiple of 5 from 1 to 400 using loop. My code doesn't work and I always get weird output, I'm using EMU8086. can someone please help me with the code
Hello, I'm trying to write a code using intel 8086 assembly language the code should, display integers numbers multiple of 5 from 1 to 400 using loop. My code doesn't work and I always get weird output, I'm using EMU8086. can someone please help me with the code
My code:
.model small .code .data main PROC
MOV CX,400H
MOV AX,5H
START:
DIV CX
mov AH,02H
int 21H
loop START