mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30: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::DataRegisterDirect, ea_register,
|
||||||
AddressingMode::ImmediateData, 0);
|
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
|
// MARK: MOVEMtoMw, MOVEMtoMl, MOVEMtoRw, MOVEMtoRl
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user