Created
April 14, 2012 19:36
-
-
Save devniel/2387356 to your computer and use it in GitHub Desktop.
Vertical Hello World
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set i, 0 | |
:loop | |
set a, [hello_world + i] | |
ife a, 0 | |
set pc, end | |
bor a, 0xE100 | |
set push,i | |
mul i,0x0020 | |
set [0x8000 + i], a | |
set i,pop | |
add i, 1 | |
set pc, loop | |
:end | |
sub pc, 1 | |
:hello_world dat "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment