1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00
kickc/src/test/ref/printmsg.sym
2019-08-07 19:36:19 +02:00

47 lines
1.7 KiB
Plaintext

(label) @1
(label) @begin
(label) @end
(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
(void()) main()
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@return
(byte[]) msg
(const byte[]) msg#0 msg = (string) "hello world! "
(byte[]) msg2
(const byte[]) msg2#0 msg2 = (string) "hello c64! "
(byte[]) msg3
(const byte[]) msg3#0 msg3 = (string) "hello 2017! "
(byte*) print_char_cursor
(byte*) print_char_cursor#1 print_char_cursor zp ZP_WORD:6 11.0
(byte*) print_char_cursor#13 print_char_cursor zp ZP_WORD:6 3.2857142857142856
(byte*) print_char_cursor#29 print_char_cursor zp ZP_WORD:6 6.0
(byte*~) print_char_cursor#31 print_char_cursor zp ZP_WORD:6 4.0
(byte*~) print_char_cursor#32 print_char_cursor zp ZP_WORD:6 4.0
(byte*) print_line_cursor
(byte*) print_line_cursor#1 print_line_cursor zp ZP_WORD:2 3.7272727272727275
(byte*) print_line_cursor#16 print_line_cursor zp ZP_WORD:2 6.0
(byte*) print_line_cursor#8 print_line_cursor zp ZP_WORD:2 24.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:4 22.0
(byte*) print_str::str#4 str zp ZP_WORD:4 11.5
(byte*) print_str::str#6 str zp ZP_WORD:4 2.0
zp ZP_WORD:2 [ print_line_cursor#8 print_line_cursor#16 print_line_cursor#1 ]
zp ZP_WORD:4 [ print_str::str#4 print_str::str#6 print_str::str#0 ]
zp ZP_WORD:6 [ print_char_cursor#13 print_char_cursor#29 print_char_cursor#31 print_char_cursor#32 print_char_cursor#1 ]