prog8/compiler/res/prog8lib
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
..
c64 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
cx16 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
conv.p8 emit extra nop for breakpoints so vice label list works again (requires 64tass 1.55.2257 or newer!) 2020-11-15 14:31:06 +01:00
cx16logo.p8 corrected name and added cx16logo library module for fun 2020-10-15 00:58:41 +02:00
diskio.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
math.asm bit shift expressions are "expanded" to the target value's datatype, now also for subroutine arguments. 2020-12-14 20:44:48 +01:00
math.p8 added preliminary CommanderX16 machine target support. Fixed nullpointer when importing a missing file. 2020-08-26 01:56:26 +02:00
prog8_funcs.asm adding strcopy() 2020-12-14 17:26:17 +01:00
prog8_lib.asm adding strcopy() 2020-12-14 17:26:17 +01:00
prog8_lib.p8 cleaning up and correcting cc for builtin functions 2020-11-05 02:29:33 +01:00
test_stack.p8 stack tested for most example programs 2020-11-22 18:35:43 +01:00