Skip to content

Instantly share code, notes, and snippets.

@derveloper
Created July 8, 2012 08:32
Show Gist options
  • Save derveloper/3069981 to your computer and use it in GitHub Desktop.
Save derveloper/3069981 to your computer and use it in GitHub Desktop.
SET R1, data1
SET R2, data2
:loop IFE R1, R2
HLT
OUT [R1]
INC R1
SET IP, loop
:data1 DAT $"foobar\n", 0
:data2 DAT $"\0", 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment