Commit Graph

8 Commits

Author SHA1 Message Date
647841469d emu: CMC/CLC/STC/CLD/STC instructions. POPF flags differ from Eager 2021-04-04 00:53:05 -07:00
a4e5d03e22 emu: use mask, not mod for ROL/ROR CF calc. No flags when SHL/SHR=0 2021-03-31 01:39:14 -07:00
a789b7e87d emu: flags: make CF & OF always lazy. Remove Flags::update_of()
Rotate ops now backup flags manually into their enum data instead of
converting everything to eager mode
2021-03-30 01:58:08 -07:00
984ff891c0 emu: Make FlagOp enum algebraic to carry op-specific data
Avoids writing operand data for lazy flags that won't be read
2021-03-30 01:35:35 -07:00
d8600151d6 emu: ROL/ROR operations 2021-03-30 01:35:29 -07:00
a183a5ad38 emu: SHL/SHR/SAR opcodes (BARELY TESTED!), const Op Directive
Carry Flag as yet untested and likely to contain bugs
2021-03-28 02:08:23 -07:00
874fc6adbc emu: Make flags lazy, implement parity flag & JPE/JPO ops 2021-03-27 01:00:29 -07:00
4b5d85352a emu: move cpu Flags into own module 2021-03-27 00:58:51 -07:00