1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-29 09:29:31 +00:00
kickc/src/test/ref/wfragment1.sym
2021-04-30 17:26:46 +02:00

20 lines
610 B
Plaintext

constant const byte MAX_OBJECTS = $10
constant word* OBJ_WORLD_X[MAX_OBJECTS] = { fill( MAX_OBJECTS, 0) }
constant byte RADIX::BINARY = 2
constant byte RADIX::DECIMAL = $a
constant byte RADIX::HEXADECIMAL = $10
constant byte RADIX::OCTAL = 8
void main()
byte main::i
byte main::i#1 reg byte y 16.5
byte main::i#2 reg byte y 11.0
bool move_enemy(byte move_enemy::obj_slot)
byte~ move_enemy::$0 reg byte a 303.0
byte move_enemy::obj_slot
byte move_enemy::obj_slot#0 reg byte a 112.0
bool move_enemy::return
reg byte y [ main::i#2 main::i#1 ]
reg byte a [ move_enemy::obj_slot#0 ]
reg byte a [ move_enemy::$0 ]