mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-11 02:29:50 +00:00
Correct 6809 CLR flag handling.
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
parent
8e0c1ebcde
commit
a9adde6ea5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user