m68hc16: Update CPU16 core

- Reduce code duplication by making most loads subroutines in the state machine
- Add ASLW, ASRW, LSRW, ROLW and RORW instructions to emulation
- Fix overflow flag for 16-bit shifts
This commit is contained in:
AJR 2022-05-28 18:07:02 -04:00
parent 439bc76f2b
commit ecd02a067f
2 changed files with 519 additions and 1402 deletions

File diff suppressed because it is too large Load Diff

View File

@ -114,6 +114,7 @@ private:
// misc. state
seq m_sequence;
seq m_return_sequence;
u32 m_ea;
u16 m_tmp;
bool m_start;