2024-01-21 23:05:51 +01:00
|
|
|
%import textio
|
2024-02-07 02:09:08 +01:00
|
|
|
%import string
|
|
|
|
|
2024-01-23 00:56:06 +01:00
|
|
|
%zeropage basicsafe
|
|
|
|
%option no_sysinit
|
2023-12-31 01:02:33 +01:00
|
|
|
|
2024-01-07 18:48:18 +01:00
|
|
|
main {
|
|
|
|
sub start() {
|
2024-02-08 01:17:19 +01:00
|
|
|
foo("zzz")
|
2024-02-07 22:36:43 +01:00
|
|
|
}
|
2024-02-04 13:50:18 +01:00
|
|
|
|
2024-02-07 22:36:43 +01:00
|
|
|
sub foo (str s2) {
|
|
|
|
str s = "irmen"
|
|
|
|
txt.print_uwhex(s, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(&s, true)
|
|
|
|
txt.nl()
|
2024-02-08 01:17:19 +01:00
|
|
|
txt.print_uwhex(&s[2], true)
|
2024-02-07 22:36:43 +01:00
|
|
|
txt.nl()
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(s2, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(&s2, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(s2+2, true)
|
|
|
|
txt.nl()
|
2024-02-08 01:17:19 +01:00
|
|
|
txt.print_uwhex(&s2[2], true) ; TODO should be the same as the previous one!
|
2024-02-07 22:36:43 +01:00
|
|
|
txt.nl()
|
2024-02-03 01:57:17 +01:00
|
|
|
}
|
|
|
|
}
|