mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Decode MOVEq.
This commit is contained in:
parent
d2452f4b68
commit
ff380b686a
@ -412,6 +412,18 @@ template <uint8_t op, bool validate> Preinstruction Predecoder<model>::decode(ui
|
||||
AddressingMode::Quick, 0,
|
||||
combined_mode(ea_mode, ea_register), ea_register);
|
||||
|
||||
//
|
||||
// MARK: MOVEq
|
||||
//
|
||||
// b9–b11: a destination register;
|
||||
// b0–b7: a 'quick' value.
|
||||
//
|
||||
// TODO: does this need to be a separate instruction from MOVEl?
|
||||
case OpT(Operation::MOVEq):
|
||||
return Preinstruction(operation,
|
||||
AddressingMode::Quick, 0,
|
||||
AddressingMode::DataRegisterDirect, data_register);
|
||||
|
||||
//
|
||||
// MARK: Impossible error case.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user