optimize if-else handling of asmsub boolean result in status flags

This commit is contained in:
Irmen de Jong
2023-12-13 02:26:56 +01:00
parent 0da9142009
commit a546c2247d
6 changed files with 219 additions and 21 deletions

View File

@ -103,7 +103,7 @@ class PtIfElse(position: Position) : PtNode(position) {
class PtJump(val identifier: PtIdentifier?,
val address: UInt?,
val generatedLabel: String?,
val generatedLabel: String?, // TODO remove this ? always uses identifier...
position: Position) : PtNode(position) {
init {
identifier?.let {it.parent = this }

View File

@ -120,7 +120,7 @@ enum class BranchCondition {
PL, // PL == POS
POS,
VS,
VC,
VC
}