Skip to content

Instantly share code, notes, and snippets.

@NightBrownie
Created March 5, 2013 07:12
Show Gist options
  • Save NightBrownie/5088554 to your computer and use it in GitHub Desktop.
Save NightBrownie/5088554 to your computer and use it in GitHub Desktop.
mov bx,0B800h
mov es,bx
mov ax, real_string
mov cx, [real_str_len] ;loop counter
xor bx, bx
out_real_mod_loop:
mov byte [es:bx], [ax]
mov byte [es:bx+1], 4fh
add bx, 2
inc ax
loop out_real_mod_loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment