mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 20:25:19 +00:00
Decode SWAP.
This commit is contained in:
@@ -371,6 +371,15 @@ template <uint8_t op, bool validate> Preinstruction Predecoder<model>::decode(ui
|
||||
AddressingMode::DataRegisterDirect, ea_register,
|
||||
AddressingMode::ImmediateData, 0);
|
||||
|
||||
//
|
||||
// MARK: SWAP
|
||||
//
|
||||
// b0–b2: a data register.
|
||||
//
|
||||
case OpT(Operation::SWAP):
|
||||
return Preinstruction(operation,
|
||||
AddressingMode::DataRegisterDirect, ea_register);
|
||||
|
||||
//
|
||||
// MARK: MOVEMtoMw, MOVEMtoMl, MOVEMtoRw, MOVEMtoRl
|
||||
//
|
||||
|
Reference in New Issue
Block a user