mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-03-06 06:30:14 +00:00
Whoops: correct overly enthusiastic shift on the 6809
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
0649796575
commit
f8097af5a4
@ -239,7 +239,7 @@ namespace EightBit {
|
||||
|
||||
bool BLS() { return carry() | (zero() >> 2); } // (C OR Z)
|
||||
bool BHI() { return !BLS(); } // !(C OR Z)
|
||||
bool BLT() { return (negative() >> 2) ^ overflow(); } // (N XOR V)
|
||||
bool BLT() { return (negative() >> 1) ^ overflow(); } // (N XOR V)
|
||||
bool BGE() { return !BLT(); } // !(N XOR V)
|
||||
bool BLE() { return (zero() >> 2) & ((negative() >> 3) ^ (overflow() >> 1)); } // (Z OR (N XOR V))
|
||||
bool BGT() { return !BLE(); } // !(Z OR (N XOR V))
|
||||
|
Loading…
x
Reference in New Issue
Block a user