1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-03 08:51:40 +00:00

Decode the two EXTs.

This commit is contained in:
Thomas Harte 2022-04-19 08:42:17 -04:00
parent f29fec33a2
commit 99f4cd867d

View File

@ -372,11 +372,12 @@ template <uint8_t op, bool validate> Preinstruction Predecoder<model>::decode(ui
AddressingMode::ImmediateData, 0);
//
// MARK: SWAP
// MARK: SWAP, EXTbtow, EXTwtol
//
// b0b2: a data register.
//
case OpT(Operation::SWAP):
case OpT(Operation::EXTbtow): case OpT(Operation::EXTwtol):
return Preinstruction(operation,
AddressingMode::DataRegisterDirect, ea_register);