mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 08:29:25 +00:00
doc
This commit is contained in:
parent
e425c4cca8
commit
c8f4ab4f06
@ -223,9 +223,9 @@ internal class BeforeAsmAstChanger(val program: Program, private val options: Co
|
||||
|
||||
// TODO: somehow figure out if the expr will result in stack-evaluation STILL after being split off,
|
||||
// in that case: do *not* split it off but just keep it as it is (otherwise code size increases)
|
||||
// TODO: do NOT move this to an earler ast transform phase (such as StatementReorderer or StatementOptimizer) - it WILL result in larger code.
|
||||
// TODO: this should be replaced by a general expression-evaluation optimization step.
|
||||
// the actual conditional expression in the statement should be no more than VARIABLE <COMPARISON-OPERATOR> SIMPLE-EXPRESSION
|
||||
// NOTE: do NOT move this to an earler ast transform phase (such as StatementReorderer or StatementOptimizer) - it WILL result in larger code.
|
||||
|
||||
var leftAssignment: Assignment? = null
|
||||
var leftOperandReplacement: Expression? = null
|
||||
|
@ -805,7 +805,7 @@ where <statements> can be just a single statement for instance just a ``goto``,
|
||||
<alternative statements>
|
||||
}
|
||||
|
||||
The XX corresponds to one of the eigth branching instructions so the possibilities are:
|
||||
The XX corresponds to one of the processor's branching instructions, so the possibilities are:
|
||||
``if_cs``, ``if_cc``, ``if_eq``, ``if_ne``, ``if_pl``, ``if_mi``, ``if_vs`` and ``if_vc``.
|
||||
It can also be one of the four aliases that are easier to read: ``if_z``, ``if_nz``, ``if_pos`` and ``if_neg``.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user