Fixed DCPU-16 my way was nooby and illegal...

:)
This commit is contained in:
Jacob
2012-07-26 10:44:42 -04:00
parent 67ffc1f534
commit 06a69d2996

View File

@@ -1,12 +1,11 @@
;HELLO ;Detect hardware and map out screen
SET [0x8000], 0x5048 hwq i
SET [0x8001], 0x5045 ifn a,62997
SET [0x8002], 0x504C sti pc,0
SET [0x8003], 0x504C set a,0
SET [0x8004], 0x504F set b,8
;WORLD hwi i
SET [0x8006], 0x5057 sub pc,1
SET [0x8007], 0x504F ;Output
SET [0x8008], 0x5052 dat 0x5048,0x5065,0x506C,0x506C,0x506F,0 ;hello and the space
SET [0x8009], 0x504C dat 0x5077,0x506F,0x5072,0x506C,0x5064 ;world
SET [0x800A], 0x5044