1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00
kickc/src/test/ref/processor-port-test.sym

165 lines
6.0 KiB
Plaintext

(label) @1
(label) @begin
(label) @end
(byte*) BASIC_ROM
(const byte*) BASIC_ROM#0 BASIC_ROM = (byte*) 40960
(byte*) IO_RAM
(const byte*) IO_RAM#0 IO_RAM = (byte*) 53248
(byte*) KERNAL_ROM
(const byte*) KERNAL_ROM#0 KERNAL_ROM = (byte*) 57344
(byte*) PROCPORT
(const byte*) PROCPORT#0 PROCPORT = (byte*) 1
(byte) PROCPORT_BASIC_KERNEL_IO
(const byte) PROCPORT_BASIC_KERNEL_IO#0 PROCPORT_BASIC_KERNEL_IO = (byte) 7
(byte*) PROCPORT_DDR
(const byte*) PROCPORT_DDR#0 PROCPORT_DDR = (byte*) 0
(byte) PROCPORT_DDR_MEMORY_MASK
(const byte) PROCPORT_DDR_MEMORY_MASK#0 PROCPORT_DDR_MEMORY_MASK = (byte) 7
(byte) PROCPORT_KERNEL_IO
(const byte) PROCPORT_KERNEL_IO#0 PROCPORT_KERNEL_IO = (byte) 6
(byte) PROCPORT_RAM_ALL
(const byte) PROCPORT_RAM_ALL#0 PROCPORT_RAM_ALL = (byte) 0
(byte) PROCPORT_RAM_CHARROM
(const byte) PROCPORT_RAM_CHARROM#0 PROCPORT_RAM_CHARROM = (byte) 1
(byte) PROCPORT_RAM_IO
(const byte) PROCPORT_RAM_IO#0 PROCPORT_RAM_IO = (byte) 5
(const byte) RADIX::BINARY BINARY = (number) 2
(const byte) RADIX::DECIMAL DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL OCTAL = (number) 8
(byte*) SCREEN
(const byte*) SCREEN#0 SCREEN = (byte*) 1024
(void()) main()
(label) main::@1
(label) main::@10
(label) main::@11
(label) main::@12
(label) main::@13
(label) main::@14
(label) main::@15
(label) main::@16
(label) main::@17
(label) main::@18
(label) main::@19
(label) main::@2
(label) main::@20
(label) main::@21
(label) main::@22
(label) main::@23
(label) main::@24
(label) main::@25
(label) main::@26
(label) main::@27
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@8
(label) main::@9
(const string) main::str str = (string) "ddr port ddr2 $00 $01 $a000 $d000 $e000"
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(label) memset::@1
(label) memset::@2
(label) memset::@return
(byte) memset::c
(const byte) memset::c#0 c = (byte) ' '
(byte*) memset::dst
(byte*) memset::dst#1 dst zp ZP_WORD:8 22.0
(byte*) memset::dst#2 dst zp ZP_WORD:8 14.666666666666666
(byte*) memset::end
(const byte*) memset::end#0 end = (byte*)(const void*) memset::str#0+(const word) memset::num#0
(word) memset::num
(const word) memset::num#0 num = (word) $3e8
(void*) memset::return
(void*) memset::str
(const void*) memset::str#0 str = (void*)(byte*) 1024
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0 reg byte a 4.0
(byte~) print_byte::$2 reg byte x 4.0
(label) print_byte::@1
(label) print_byte::@return
(byte) print_byte::b
(byte) print_byte::b#0 reg byte x 4.0
(byte) print_byte::b#1 reg byte x 4.0
(byte) print_byte::b#2 reg byte x 4.0
(byte) print_byte::b#3 reg byte x 4.0
(byte) print_byte::b#4 reg byte x 4.0
(byte) print_byte::b#5 reg byte x 4.0
(byte) print_byte::b#6 reg byte x 4.0
(byte) print_byte::b#7 reg byte x 4.0
(byte) print_byte::b#8 reg byte x 5.0
(void()) print_char((byte) print_char::ch)
(label) print_char::@return
(byte) print_char::ch
(byte) print_char::ch#0 reg byte a 4.0
(byte) print_char::ch#1 reg byte a 4.0
(byte) print_char::ch#2 reg byte a 6.0
(byte*) print_char_cursor
(byte*) print_char_cursor#1 print_char_cursor zp ZP_WORD:4 11.0
(byte*) print_char_cursor#114 print_char_cursor zp ZP_WORD:4 1.5599999999999998
(byte*) print_char_cursor#115 print_char_cursor zp ZP_WORD:4 3.75
(byte*) print_char_cursor#121 print_char_cursor zp ZP_WORD:4 18.0
(byte*~) print_char_cursor#125 print_char_cursor zp ZP_WORD:4 4.0
(byte*) print_char_cursor#65 print_char_cursor zp ZP_WORD:4 4.0
(byte*) print_char_cursor#66 print_char_cursor zp ZP_WORD:4 0.8695652173913042
(void()) print_cls()
(label) print_cls::@return
(byte[]) print_hextab
(const byte[]) print_hextab#0 print_hextab = (string) "0123456789abcdef"z
(byte*) print_line_cursor
(byte*) print_line_cursor#1 print_line_cursor zp ZP_WORD:8 0.4111111111111111
(byte*) print_line_cursor#34 print_line_cursor zp ZP_WORD:8 24.0
(byte*) print_line_cursor#67 print_line_cursor zp ZP_WORD:8 4.0
(void()) print_ln()
(label) print_ln::@1
(label) print_ln::@return
(byte*) print_screen
(void()) print_str((byte*) print_str::str)
(label) print_str::@1
(label) print_str::@2
(label) print_str::@return
(byte*) print_str::str
(byte*) print_str::str#0 str zp ZP_WORD:6 22.0
(byte*) print_str::str#10 str zp ZP_WORD:6 11.5
(byte*) print_str::str#12 str zp ZP_WORD:6 2.0
(void()) testProcport((byte) testProcport::ddr , (byte) testProcport::port , (byte) testProcport::ddr2)
(label) testProcport::@1
(label) testProcport::@10
(label) testProcport::@11
(label) testProcport::@12
(label) testProcport::@13
(label) testProcport::@14
(label) testProcport::@15
(label) testProcport::@16
(label) testProcport::@2
(label) testProcport::@3
(label) testProcport::@4
(label) testProcport::@5
(label) testProcport::@6
(label) testProcport::@7
(label) testProcport::@8
(label) testProcport::@9
(label) testProcport::@return
(byte) testProcport::ddr
(byte) testProcport::ddr#23 reg byte x 0.5
(byte) testProcport::ddr2
(byte) testProcport::ddr2#23 ddr2 zp ZP_BYTE:3 0.25
(byte) testProcport::port
(byte) testProcport::port#23 port zp ZP_BYTE:2 0.3333333333333333
(const string) testProcport::str str = (string) " "
(const string) testProcport::str1 str1 = (string) " "
(const string) testProcport::str3 str3 = (string) " "
(const string) testProcport::str5 str5 = (string) " "
reg byte x [ testProcport::ddr#23 ]
zp ZP_BYTE:2 [ testProcport::port#23 ]
zp ZP_BYTE:3 [ testProcport::ddr2#23 ]
reg byte x [ print_byte::b#8 print_byte::b#0 print_byte::b#5 print_byte::b#6 print_byte::b#7 print_byte::b#1 print_byte::b#2 print_byte::b#3 print_byte::b#4 ]
reg byte a [ print_char::ch#2 print_char::ch#0 print_char::ch#1 ]
zp ZP_WORD:4 [ print_char_cursor#121 print_char_cursor#125 print_char_cursor#65 print_char_cursor#115 print_char_cursor#114 print_char_cursor#66 print_char_cursor#1 ]
zp ZP_WORD:6 [ print_str::str#10 print_str::str#12 print_str::str#0 ]
zp ZP_WORD:8 [ memset::dst#2 memset::dst#1 print_line_cursor#34 print_line_cursor#67 print_line_cursor#1 ]
reg byte a [ print_byte::$0 ]
reg byte x [ print_byte::$2 ]