Quantcast
Channel: Printing a string in NASM Win16 Assembly - Code Review Stack Exchange
Viewing all articles
Browse latest Browse all 2

Printing a string in NASM Win16 Assembly

$
0
0

A small script that simply prints a given string. It's an improved snippet that combines some recommendations given in my post on string helper functions.

org 100hmov     si, hellocall    putsretputs:    jmp     .run.putc:    mov     ah, 0Eh    mov     bx, 7    int     10h.run:    lodsb    cmp     al, 0    jne     .putc    rethello db "Hello World!", 0

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images