boot: fix flagsToBC

Why did I ever think that using CM was a good idea? any comparison
with numbers more than 0x8000 apart would be wrong...
This commit is contained in:
Virgil Dupras 2020-04-07 11:12:17 -04:00
parent 1c6e979028
commit 400f0ab0b0
4 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -218,7 +218,7 @@ PC ORG @ 0x29 + ! ( flagsToBC )
BC 0 LDddnn, BC 0 LDddnn,
CZ RETcc, ( equal ) CZ RETcc, ( equal )
BC INCss, BC INCss,
CM RETcc, ( > ) CC RETcc, ( > )
( < ) ( < )
BC DECss, BC DECss,
BC DECss, BC DECss,

View File

@ -2,3 +2,4 @@
0x71 <>{ 0x70 &= 0x58 |= 0x20 |= <>} NOT # 0x71 <>{ 0x70 &= 0x58 |= 0x20 |= <>} NOT #
0x42 <>{ 0x40 &> 0x44 &< <>} # 0x42 <>{ 0x40 &> 0x44 &< <>} #
0x44 <>{ 0x40 &> 0x44 &< <>} NOT # 0x44 <>{ 0x40 &> 0x44 &< <>} NOT #
0x22 0x8065 < #