mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Decode SWAP.
This commit is contained in:
parent
5509f20025
commit
1abd3bd7f3
@ -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
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user