Jesper Gravgaard
|
294bb27eec
|
Updated %nn to 0bnn and $nn to 0xnn.
|
2024-01-02 19:45:16 +01:00 |
|
Jesper Gravgaard
|
5d6fcca6c2
|
Allocation of zp/memory to variables is now prioritized by the calculated weight of the variable. This ensures that the most used variables are kept on zeropage when variables spill over into main memory. Closes #712
|
2021-09-23 08:24:56 +02:00 |
|
jespergravgaard
|
8a38c2a887
|
Using C declaration format for types in logs, errors, comments and more.
|
2021-08-10 17:48:55 +02:00 |
|
jespergravgaard
|
da789e007f
|
Removed support for programs without segments. Closes #465
|
2020-12-21 08:57:41 +01:00 |
|
jespergravgaard
|
b195a3c545
|
Improved ASM procedure sequence to match calling sequence in program.
|
2020-06-27 23:26:57 +02:00 |
|
jespergravgaard
|
aee57979ef
|
Now comments on global variables are no longer destroyed. However some comments appear twice!
|
2020-06-27 20:32:09 +02:00 |
|
jespergravgaard
|
897cde29e4
|
Added printf.h which contains functions for printing formatted numbers and strings.
|
2020-04-18 20:54:39 +02:00 |
|
jespergravgaard
|
cb07791eab
|
Renamed print.h functions.
|
2020-04-13 20:06:30 +02:00 |
|
jespergravgaard
|
d12daf874d
|
Updated all stdlib files to use standard C types.
|
2020-04-13 20:00:13 +02:00 |
|
jespergravgaard
|
ffa9d8a6ca
|
Added compiler option -Warraytype to allow non-standard array syntax. By default it is not allowed. #162
|
2020-03-26 16:20:30 +01:00 |
|
jespergravgaard
|
d1ec933032
|
Fixed error in recursive caller code.
|
2020-03-08 23:26:49 +01:00 |
|
jespergravgaard
|
1836a9bd92
|
Finally eliminated copy visitor!
Refactored CallPhiParameters to modify the current control flow graph.
|
2020-03-07 22:38:40 +01:00 |
|
jespergravgaard
|
5ffae4d92a
|
Added C-source to generated test ASM.
|
2020-02-23 09:44:36 +01:00 |
|
jespergravgaard
|
3b043e11a7
|
Changed syntax for function signatures.
|
2019-12-26 09:51:41 +01:00 |
|
jespergravgaard
|
624c27686c
|
Added underscores to compiler-generated ASM-symbols to avoid clashes with C-symbols. Closes #329
|
2019-09-29 23:13:42 +02:00 |
|
jespergravgaard
|
3aad07f4e1
|
Disabled constant loop head optimization by default (until the two known issues have been fixed.)
|
2019-08-25 22:21:58 +02:00 |
|
jespergravgaard
|
7a49ded40c
|
Now all instructions addressing zero-page have an explicit .z added to the ASM to ensure the ASM generated does zeropage-addressing. Closes #249
|
2019-08-07 21:00:21 +02:00 |
|
jespergravgaard
|
c78bebf2a8
|
Updated stdlib & tests with 0-terminated strings.
|
2019-08-07 19:48:56 +02:00 |
|
jespergravgaard
|
6c59110896
|
Fixed encoded string zero termination. Closes #192
|
2019-08-07 19:36:19 +02:00 |
|
Jesper Gravgaard
|
ce5e3cf19a
|
Added constant loop head optimization, that detects when the condition is constant in the first loop iteration. Closes #246
|
2019-08-07 13:22:05 +02:00 |
|
jespergravgaard
|
dacd25ac5f
|
Added constant loop-head detection to a switchable optimization option -Oloophead. #246
Implemented for()-loop condition checking before body. Closes #183
|
2019-08-07 11:27:56 +02:00 |
|
jespergravgaard
|
f8dfe3743b
|
Implemented light-weight zeropage coalesce. Closes #237
|
2019-07-31 13:47:22 +02:00 |
|
Jesper Gravgaard
|
660d2a8979
|
Changed print_cls() to use memset(). Fixed error in fragment.
|
2019-07-18 01:54:16 +02:00 |
|
jespergravgaard
|
8947882e20
|
Moved zero-page coalesce to an optimization option.
|
2019-05-31 23:17:57 +02:00 |
|
Jesper Gravgaard
|
5d988dd859
|
Rafactoring pass 2
|
2019-05-20 10:36:58 +02:00 |
|
jespergravgaard
|
fc75878f9d
|
Now optimizing *(ptr+n) into ptr[n] when possible.
|
2019-04-20 22:12:56 +02:00 |
|
jespergravgaard
|
d6427d58df
|
Eliminating redundant casts.
|
2019-04-20 13:08:12 +02:00 |
|