mirror of
https://github.com/irmen/prog8.git
synced 2024-12-27 05:29:38 +00:00
comments
This commit is contained in:
parent
46c12a8899
commit
6cda76a116
@ -2058,8 +2058,6 @@ internal class AugmentableAssignmentAsmGen(private val program: PtProgram,
|
||||
}
|
||||
|
||||
private fun inplaceModification_word_value_to_variable(name: String, dt: DataType, operator: String, value: PtExpression) {
|
||||
// this should be the last resort for code generation for this,
|
||||
// because the value is evaluated onto the eval stack (=slow).
|
||||
fun multiplyVarByWordInAY() {
|
||||
asmgen.out("""
|
||||
sta P8ZP_SCRATCH_W1
|
||||
|
@ -63,11 +63,11 @@ Footnotes for the Commander X16
|
||||
|
||||
$02 - $21 are the 16 virtual cx16 registers R0-R15.
|
||||
|
||||
$22 - $7F are free to use, and Prog8 utilizes this to put variables in automatically.
|
||||
$22 - $7F are used by Prog8 to put variables in.
|
||||
|
||||
The top half of the ZP ($80-$FF) is reserved for use by the Kernal and Basic in normal operation.
|
||||
Zero page use by Prog8 can be manipulated with the ``%zeropage`` directive, various options
|
||||
may free up more locations for use by Prog8.
|
||||
may free up more locations for use by Prog8 or to reserve them for other things.
|
||||
|
||||
|
||||
Footnotes for the Commodore 64
|
||||
@ -80,7 +80,7 @@ Footnotes for the Commodore 64
|
||||
*Zero Page $0000 - $00FF*
|
||||
Consider the full zero page to be reserved for use by the Kernal and Basic in normal operation.
|
||||
Zero page use by Prog8 can be manipulated with the ``%zeropage`` directive, various options
|
||||
may free up more locations for use by Prog8.
|
||||
may free up more locations for use by Prog8 or to reserve them for other things.
|
||||
|
||||
|
||||
Zero page usage by the Prog8 compiler
|
||||
|
@ -1,9 +1,6 @@
|
||||
TODO
|
||||
====
|
||||
|
||||
- bugfixes: assem crashing, imageviewer not loading past boat image, rockrunner music borked.
|
||||
- stackless: describe the changes in the manual.
|
||||
|
||||
- IR: reduce the number of branch instructions such as BEQ, BEQR, etc (gradually), replace with CMP(I) + status branch instruction
|
||||
- IR: reduce amount of CMP/CMPI after instructions that set the status bits correctly (LOADs? INC? etc), but only after setting the status bits is verified!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user