Irmen de Jong
|
172e78e8f2
|
ir: ignore empty chunks instead of crashing
|
2023-12-01 22:49:20 +01:00 |
|
Irmen de Jong
|
ae2d96c455
|
added peekf and pokef builtin functions. Fixed sizeof() to allow number argument as well.
|
2023-11-27 23:36:02 +01:00 |
|
Irmen de Jong
|
9ef9c24388
|
IR: optimize redundant labels
|
2023-11-25 01:10:17 +01:00 |
|
Irmen de Jong
|
935450a45f
|
update kotest library
|
2023-11-22 18:40:07 +01:00 |
|
Irmen de Jong
|
af5ca2d0b8
|
vm: treat floats as 64 bits doubles. 0.0 printed as "0".
|
2023-11-21 00:57:56 +01:00 |
|
Irmen de Jong
|
161c02ced3
|
message
|
2023-11-17 00:37:12 +01:00 |
|
Irmen de Jong
|
ff8de8e42d
|
removing redundant compares
|
2023-11-16 22:56:19 +01:00 |
|
Irmen de Jong
|
76c09da961
|
make pokemon() be like poke, but also return the old value in the memory location.
|
2023-11-09 22:48:44 +01:00 |
|
Irmen de Jong
|
f68b46fc60
|
add a %zpallowed option to specify the range of zeropage register that can be used
|
2023-11-03 00:19:25 +01:00 |
|
Irmen de Jong
|
513611c5a6
|
IR: using EXT more
|
2023-10-29 02:57:21 +01:00 |
|
Irmen de Jong
|
92374e122b
|
IR: optimize concat with msb 0 into ext
|
2023-10-28 12:53:41 +02:00 |
|
Irmen de Jong
|
13ab4166c0
|
new kotest library version
|
2023-10-19 21:57:06 +02:00 |
|
Irmen de Jong
|
a48ce35f0b
|
added %option verafxmuls
|
2023-10-05 22:06:33 +02:00 |
|
Irmen de Jong
|
1da0c59182
|
vm: remove BNER opcode -> CMP + BSTNE
|
2023-09-23 11:47:24 +02:00 |
|
Irmen de Jong
|
36e8f10d2b
|
vm: remove BEQR opcode -> CMP + BSTEQ
|
2023-09-23 11:42:58 +02:00 |
|
Irmen de Jong
|
cdf5a8f20f
|
vm: remove BNE opcode -> CMPI + BSTNE
|
2023-09-23 11:22:33 +02:00 |
|
Irmen de Jong
|
eb64d92333
|
vm: remove BEQ opcode -> CMPI + BSTEQ
|
2023-09-23 11:21:43 +02:00 |
|
Irmen de Jong
|
eb55da63ef
|
weird
|
2023-09-23 11:21:17 +02:00 |
|
Irmen de Jong
|
229c1114dd
|
vm: fixed array initialization values with address-ofs
|
2023-09-19 23:54:18 +02:00 |
|
Irmen de Jong
|
c319233ddc
|
ir: added preparecall 'meta' instruction for functioncalls
|
2023-09-18 23:22:03 +02:00 |
|
Irmen de Jong
|
880c0a5da8
|
allow taking address of array element
|
2023-09-18 04:37:41 +02:00 |
|
Irmen de Jong
|
ccf6e32bf9
|
adding setlsb() and setmsb() builtin functions to 6502 codegen
|
2023-09-17 15:16:47 +02:00 |
|
Irmen de Jong
|
a1874f6f00
|
adding setlsb() and setmsb() builtin functions to 6502 codegen
|
2023-09-17 01:48:29 +02:00 |
|
Irmen de Jong
|
95e4490a8a
|
adding setlsb() and setmsb() builtin functions
|
2023-09-15 02:39:16 +02:00 |
|
Irmen de Jong
|
6afdd4e6fd
|
preparing next version
|
2023-09-12 21:53:49 +02:00 |
|
Irmen de Jong
|
bde4be8231
|
fix VM indexed instructions to only use lsb part of the index
|
2023-09-06 02:44:04 +02:00 |
|
Irmen de Jong
|
2c9e50873c
|
use math.square for optimized X*X calculation (words only).
Added IR SQUARE instruction.
|
2023-08-14 01:05:17 +02:00 |
|
Irmen de Jong
|
5fffd35ec1
|
IR: fix augmented assignment operators
|
2023-08-11 18:24:37 +02:00 |
|
Irmen de Jong
|
b92e22e4a6
|
IR: fix for loop over range with step
|
2023-08-11 03:05:47 +02:00 |
|
Irmen de Jong
|
3e6d16a7a8
|
add error message for invalid step size in range expression
|
2023-08-11 02:35:52 +02:00 |
|
Irmen de Jong
|
a4d093afa1
|
added -sourcelines cli option to include src lines in generated assembly (which is now off by default)
|
2023-08-02 23:05:24 +02:00 |
|
Irmen de Jong
|
1ae950a638
|
Merge branch 'remove_evalstack'
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/assignment/AssignmentAsmGen.kt
|
2023-07-31 21:57:43 +02:00 |
|
Irmen de Jong
|
9bb16e293c
|
vm: fix postincr/decr on indexed pointervariables
|
2023-07-31 19:37:30 +02:00 |
|
Irmen de Jong
|
c223702ea0
|
code cleanups
|
2023-07-30 18:42:45 +02:00 |
|
Irmen de Jong
|
a0ab0bd3e2
|
Merge branch 'master' into remove_evalstack
# Conflicts:
# examples/test.p8
|
2023-07-29 18:57:06 +02:00 |
|
Irmen de Jong
|
b89ad4b328
|
don't optimize empty where choice away! It would call the else clause incorrectly.
|
2023-07-29 18:25:52 +02:00 |
|
Irmen de Jong
|
7cf6aba625
|
Merge branch 'master' into remove_evalstack
# Conflicts:
# examples/test.p8
|
2023-07-22 23:37:20 +02:00 |
|
Irmen de Jong
|
c7d54570cc
|
IR: sXX, CONCAT instructions now use 3 register format
|
2023-07-21 00:07:56 +02:00 |
|
Irmen de Jong
|
9f247901d4
|
Merge branch 'master' into remove_evalstack
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/BuiltinFunctionsAsmGen.kt
# codeGenCpu6502/src/prog8/codegen/cpu6502/assignment/AssignmentAsmGen.kt
# compiler/src/prog8/buildversion/BuildVersion.kt
# examples/test.p8
|
2023-07-16 23:45:04 +02:00 |
|
Irmen de Jong
|
c1aa5d4e47
|
IR: optimized when statement translation
|
2023-07-16 12:10:46 +02:00 |
|
Irmen de Jong
|
e2bb0de24d
|
clean up X register save/store in compiler code, remove temp vars for register saving
|
2023-07-15 22:25:58 +02:00 |
|
Irmen de Jong
|
84925ab69c
|
remove eval stack options
|
2023-07-15 22:24:19 +02:00 |
|
Irmen de Jong
|
6938c79f88
|
IR: added CMPI instruction
|
2023-07-14 23:17:29 +02:00 |
|
Irmen de Jong
|
795f80b4ec
|
fix forloop 6502 codegen in case of descending word values
|
2023-07-11 00:33:12 +02:00 |
|
Irmen de Jong
|
6055b8c3dc
|
IR: fix forloop codegen for steps != 1
|
2023-07-10 21:36:44 +02:00 |
|
Irmen de Jong
|
5037033fcf
|
ir: EXT and EXTS opcodes now have 2 registers to avoid type clash
|
2023-07-08 22:42:11 +02:00 |
|
Irmen de Jong
|
071a80360f
|
ir: fix some problem with comparison against zero
|
2023-07-07 21:17:28 +02:00 |
|
Irmen de Jong
|
d2154f5f2e
|
remove empty when choices, fixes ir compilation error on those
|
2023-07-07 20:34:24 +02:00 |
|
Irmen de Jong
|
334d382bfa
|
ir: JUMPI instruction added to support indirect jumps
|
2023-07-07 19:10:39 +02:00 |
|
Irmen de Jong
|
90c4b00f74
|
ir: fix any() all() reverse() sort() on memory mapped arrays and on byte arrays
|
2023-07-07 17:25:32 +02:00 |
|