1
0
mirror of https://github.com/irmen/prog8.git synced 2025-01-19 04:31:40 +00:00

28 lines
450 B
Plaintext
Raw Normal View History

%import test_stack
%import textio
2020-12-28 00:08:22 +01:00
%import floats
%zeropage basicsafe
2020-12-08 01:02:38 +01:00
%option no_sysinit
main {
sub start () {
; differences between:
; @(pp) = cnt as ubyte
; @(pp) = lsb(cnt)
; @(pp) = msb(cnt)
; repeat w as ubyte / repeat lsb(w)
; stack based evaluation for this function call even when it's inlined:
; gfx2.next_pixel((cnt as ubyte) + 30)
test_stack.test()
}
2020-12-26 01:25:52 +01:00
2020-08-27 19:47:50 +02:00
}