comparison helloworld.s16 @ 0:7e44f7d5810b

Initial commit. CPU working well enough for simple hello world program.
author Michael Pavone <pavone@retrodev.com>
date Tue, 22 Mar 2016 22:44:02 -0700
parents
children a44e078d792b
comparison
equal deleted inserted replaced
-1:000000000000 0:7e44f7d5810b
1 ldim message, r0
2 ldim 0, r1
3 loop
4 ld8 r0, r1, r2
5 ori 0, r2
6 beq done
7 outi 11, r2
8 bra loop
9 done
10 bra done
11
12 message:
13 dc.b "Hello, world!", 0