M680xOpIdx

Instruction's operand referring to indexed addressing

Members

Variables

baseReg
M680xRegister baseReg;

Base register (or M680xRegisterId.invalid if irrelevant)

flags
BitFlags!M680xFlag flags;

If flag M680xFlag.postIncDec set it is post inc-/decrement otherwise pre inc-/decrement/// 8-bit flags (see above)

incDec
byte incDec;

Inc. or dec. value: 0: no inc-/decrement, 1 .. 8: increment by 1 .. 8, -1 .. -8: decrement by 1 .. 8.

offset
short offset;

5-,8- or 16-bit offset

offsetAddr
ushort offsetAddr;

= offset addr. if baseReg.id == M680xRegisterId.pc. Calculated as offset + PC

offsetBits
M680xOffsetBits offsetBits;

Offset width in bits for indexed addressing

offsetReg
M680xRegister offsetReg;

Offset register (or M680xRegisterId.invalid if irrelevant)

Meta