mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-08-09 00:25:10 +00:00
Correct 6809 CLR flag handling.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
@@ -784,7 +784,7 @@ uint8_t EightBit::mc6809::asr(uint8_t operand) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t EightBit::mc6809::clr() {
|
uint8_t EightBit::mc6809::clr() {
|
||||||
clearFlag(CC(), HF | ZF | VF | CF);
|
clearFlag(CC(), NF | VF | CF);
|
||||||
setFlag(CC(), ZF);
|
setFlag(CC(), ZF);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user