prog8/examples
Irmen de Jong 928611eb20 Got rid of problematic attempts to save status register after function calls. If you really need it (for instance for if_XX instructions) it's probably better to use a short asmsub wrapper.
For function calls, register saves go via stack (to allow nested saves) for simpler cases, registers are saved in a local variable.
Fixed too agressive removal of sta-lda sequence if the lda is followed by a branching instruction.
Insert missing cmp #0 after functioncall if the value of the A register is needed in a comparison expression (could otherwise test wrong status flag)
2020-12-22 03:35:00 +01:00
..
arithmetic fix examples for cx16 register syntax 2020-12-21 23:45:26 +01:00
cmp
compiled decided not to change mkword() again, added note to docs about argument order 2020-12-15 22:25:06 +01:00
cx16 cx16 registers should come first in subroutine arg list 2020-12-22 00:59:07 +01:00
balloonflight.p8
balls.p8
bdmusic-irq.p8
bdmusic.p8
charset.p8
cube3d-float.p8
cube3d-gfx.p8
cube3d-sprites.p8
cube3d.p8
cxlogo.p8
dirlist.p8 fix examples for cx16 register syntax 2020-12-21 23:45:26 +01:00
examples.iml
fibonacci.p8
hello.p8
line-circle-gfx.p8
line-circle-txt.p8
mandelbrot-gfx.p8
mandelbrot.p8
numbergame.p8
plasma.p8
primes.p8
rasterbars.p8
screencodes.p8
sorting.p8
sprites.p8
swirl-float.p8
swirl.p8
tehtriz.p8 Got rid of problematic attempts to save status register after function calls. If you really need it (for instance for if_XX instructions) it's probably better to use a short asmsub wrapper. 2020-12-22 03:35:00 +01:00
test.p8 Got rid of problematic attempts to save status register after function calls. If you really need it (for instance for if_XX instructions) it's probably better to use a short asmsub wrapper. 2020-12-22 03:35:00 +01:00
testarrays.p8 fix examples for cx16 register syntax 2020-12-21 23:45:26 +01:00
testforloops.p8 fix examples for cx16 register syntax 2020-12-21 23:45:26 +01:00
textelite.p8 Got rid of problematic attempts to save status register after function calls. If you really need it (for instance for if_XX instructions) it's probably better to use a short asmsub wrapper. 2020-12-22 03:35:00 +01:00
turtle-gfx.p8
wizzine.p8