Last active
August 29, 2015 14:15
-
-
Save pereztr5/14231c1f34568a6797c9 to your computer and use it in GitHub Desktop.
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
.constant TERM 0x4002 | |
.address 0x2000 | |
movi r2, '~' | |
!main | |
movi r1, ' ' | |
!loop | |
STOR r1, [TERM] | |
add r1, r1, (1) | |
brag r1, r2, [!main] | |
BRA [!loop] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment