by userbinator · 4y ago · 0 comments
xchg ax,bp
mov dx,107
int 21
ret
db "hello, world" 0d 0a '$'
22 bytes, of which 15 is the message. db '4LOHA- W0rld' 0d 0a '$'
xchg ax, bp
xchg cx, dx
int 21
retI love how, without the 'hello, world' message itself, 25% of your entire HELLO.ASM codebase is from a random HN comment
Edit: I saw the new commit, HN is lovely
By the way, I noticed just now that @userbinator occurs in the credits section of an earlier repository of mine too: https://github.com/susam/tucl#credits :)
Beat the enterprise Fizbuzz by 25 contribs.
For anybody interested some DOS default register values documented: http://www.fysnet.net/yourhelp.htm