For science fair, I need three programs that count to 50,000 and output each number as they do, I need one in c++, one in java, and one in assembly. I have the c++ and java programs, but I don't see what I'm doing wrong for my assembly code:
    [org 0x100]
    [bits 32]
    mov ax, 0
    mov bx, target
    jmp start
    start:
    mov cx, 0x01
    add ax, cx
    mov dx, ax
    mov ah, 09
    int 0x21
    mov ax, dx
    cmp ax, bx
    jg term
    jmp start
    term:
    mov dx, msgT
    mov ah, 09
    int 0x21
    mov ah, 00
    int 0x21
    msgT db 'Terminating'
    target dw 50000
I am using the assembler NASM, and right now, it counts to 50,000 but doesn't output each number as it calculates them.