mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-04 01:57:54 +00:00
Also fix AddrReg.
24 failures.
This commit is contained in:
parent
9207de4164
commit
78cb39ad67
@ -64,7 +64,7 @@ std::pair<int, typename Decoder<model>::InstructionT> Decoder<model>::decode(con
|
|||||||
/// Handles instructions of the form jjkk, Ax where the former is implicitly an address.
|
/// Handles instructions of the form jjkk, Ax where the former is implicitly an address.
|
||||||
#define AddrReg(op, source, op_size, addr_size) \
|
#define AddrReg(op, source, op_size, addr_size) \
|
||||||
SetOpSrcDestSize(op, source, DirectAddress, op_size); \
|
SetOpSrcDestSize(op, source, DirectAddress, op_size); \
|
||||||
operand_size_ = addr_size; \
|
displacement_size_ = addr_size; \
|
||||||
destination_ = Source::DirectAddress; \
|
destination_ = Source::DirectAddress; \
|
||||||
phase_ = Phase::DisplacementOrOperand
|
phase_ = Phase::DisplacementOrOperand
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user