1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/cia-timer-simple.sym

59 lines
2.5 KiB
Plaintext
Raw Normal View History

2020-10-05 20:58:02 +00:00
const nomodify struct MOS6526_CIA* CIA2 = (struct MOS6526_CIA*) 56576
const nomodify dword* CIA2_TIMER_AB = (dword*) 56580
const nomodify byte CIA_TIMER_CONTROL_B_COUNT_UNDERFLOW_A = $40
const nomodify byte CIA_TIMER_CONTROL_START = 1
const byte OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL = $e
const byte OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL = $f
const byte RADIX::BINARY = 2
const byte RADIX::DECIMAL = $a
const byte RADIX::HEXADECIMAL = $10
const byte RADIX::OCTAL = 8
const nomodify byte* SCREEN = (byte*) 1024
dword clock()
dword clock::return
dword clock::return#0 return zp[4]:9 37.33333333333333
dword clock::return#2 return zp[4]:9 22.0
void clock_start()
void main()
void print_char_at(byte print_char_at::ch , byte* print_char_at::at)
byte* print_char_at::at
byte* print_char_at::at#0 at zp[2]:7 20002.0
byte* print_char_at::at#1 at zp[2]:7 10001.0
byte* print_char_at::at#2 at zp[2]:7 120003.0
byte print_char_at::ch
byte print_char_at::ch#0 reg byte x 10001.0
byte print_char_at::ch#1 reg byte x 20002.0
byte print_char_at::ch#2 reg byte x 120003.0
const to_nomodify byte* print_hextab[] = "0123456789abcdef"z
void print_uchar_at(byte print_uchar_at::b , byte* print_uchar_at::at)
byte~ print_uchar_at::$0 reg byte a 20002.0
byte~ print_uchar_at::$2 reg byte y 10001.0
byte* print_uchar_at::at
byte* print_uchar_at::at#0 at zp[2]:4 2002.0
byte* print_uchar_at::at#1 at zp[2]:4 2002.0
byte* print_uchar_at::at#2 at zp[2]:4 3667.333333333333
byte print_uchar_at::b
byte print_uchar_at::b#0 b zp[1]:6 1001.0
byte print_uchar_at::b#1 b zp[1]:6 1001.0
byte print_uchar_at::b#2 b zp[1]:6 4400.8
void print_uint_at(word print_uint_at::w , byte* print_uint_at::at)
byte* print_uint_at::at
byte* print_uint_at::at#2 at zp[2]:4 400.4
word print_uint_at::w
word print_uint_at::w#0 w zp[2]:2 202.0
word print_uint_at::w#1 w zp[2]:2 202.0
word print_uint_at::w#2 w zp[2]:2 551.0
void print_ulong_at(dword print_ulong_at::dw , byte* print_ulong_at::at)
byte* print_ulong_at::at
dword print_ulong_at::dw
dword print_ulong_at::dw#0 dw zp[4]:9 71.0
zp[2]:2 [ print_uint_at::w#2 print_uint_at::w#0 print_uint_at::w#1 ]
2020-04-13 18:06:30 +00:00
zp[2]:4 [ print_uint_at::at#2 print_uchar_at::at#2 print_uchar_at::at#0 print_uchar_at::at#1 ]
zp[1]:6 [ print_uchar_at::b#2 print_uchar_at::b#0 print_uchar_at::b#1 ]
reg byte x [ print_char_at::ch#2 print_char_at::ch#0 print_char_at::ch#1 ]
2019-10-12 09:40:36 +00:00
zp[2]:7 [ print_char_at::at#2 print_char_at::at#0 print_char_at::at#1 ]
zp[4]:9 [ clock::return#2 print_ulong_at::dw#0 clock::return#0 ]
2020-04-13 18:06:30 +00:00
reg byte a [ print_uchar_at::$0 ]
reg byte y [ print_uchar_at::$2 ]