mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-09 16:24:56 +00:00
Correct "LE" definition to at least match the MC6809 documentation.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -277,7 +277,7 @@ namespace EightBit {
|
||||
bool HI() { return !LS(); } // !(C OR Z)
|
||||
bool LT() { return (negative() >> 1) ^ overflow(); } // (N XOR V)
|
||||
bool GE() { return !LT(); } // !(N XOR V)
|
||||
bool LE() { return (zero() >> 2) & ((negative() >> 3) ^ (overflow() >> 1)); } // (Z OR (N XOR V))
|
||||
bool LE() { return (zero() >> 2) | ((negative() >> 3) ^ (overflow() >> 1)); } // (Z OR (N XOR V))
|
||||
bool GT() { return !LE(); } // !(Z OR (N XOR V))
|
||||
|
||||
// Branching
|
||||
|
Reference in New Issue
Block a user