2022-11-15 17:51:52 +00:00
|
|
|
%import textio
|
|
|
|
%zeropage basicsafe
|
|
|
|
|
2022-10-22 11:33:35 +00:00
|
|
|
main {
|
2022-11-06 21:41:23 +00:00
|
|
|
|
2022-11-15 17:51:52 +00:00
|
|
|
alsostart:
|
2022-11-22 01:04:24 +00:00
|
|
|
|
|
|
|
%asm {{
|
|
|
|
; inline asm in block #1
|
|
|
|
nop
|
|
|
|
}}
|
|
|
|
|
|
|
|
%asmbinary "../gradle.properties"
|
|
|
|
|
2022-11-07 23:06:43 +00:00
|
|
|
sub start() {
|
2022-11-15 17:51:52 +00:00
|
|
|
|
|
|
|
internalstart:
|
2022-11-16 00:39:34 +00:00
|
|
|
ubyte fact = 10
|
|
|
|
uword ww = 1<<fact
|
|
|
|
txt.print_uw(ww)
|
|
|
|
txt.nl()
|
|
|
|
ww++
|
|
|
|
ww = 1<<fact
|
|
|
|
txt.print_uw(ww)
|
|
|
|
txt.nl()
|
|
|
|
txt.nl()
|
|
|
|
|
2022-11-15 17:51:52 +00:00
|
|
|
txt.print_uwhex(start, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(alsostart, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(internalstart, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(startend, true)
|
|
|
|
txt.nl()
|
|
|
|
txt.print_uwhex(internalend, true)
|
|
|
|
txt.nl()
|
|
|
|
internalend:
|
2022-11-06 12:40:55 +00:00
|
|
|
}
|
2022-11-15 17:51:52 +00:00
|
|
|
|
2022-11-22 01:04:24 +00:00
|
|
|
%asm {{
|
|
|
|
; inline asm in block #2
|
|
|
|
nop
|
|
|
|
}}
|
|
|
|
|
2022-11-15 17:51:52 +00:00
|
|
|
startend:
|
|
|
|
|
2022-11-22 01:04:24 +00:00
|
|
|
%asmbinary "../settings.gradle"
|
|
|
|
|
|
|
|
%asm {{
|
|
|
|
; inline asm in block #3
|
|
|
|
nop
|
|
|
|
}}
|
|
|
|
|
2022-09-18 14:04:49 +00:00
|
|
|
}
|