Quantcast
Channel: Printing a string in NASM Win16 Assembly - Code Review Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Shift_Left for Printing a string in NASM Win16 Assembly

You have all the elements. The only thing that can be eliminated is jmp .run, as follows:org 0x100 mov si, Prompt call puts ret puts: mov ah, 0xe mov bx, 7 .read: lodsb or al, al jnz .post ret .post:...

View Article



Printing a string in NASM Win16 Assembly

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...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images