getOperandValue

Extracts operand value from a dcpu

OperandAccess
getOperandValue
(
bool isA
Cpu
)
(
ref Cpu dcpu
,,
ref ushort pc
,
ref ushort sp
)
in { assert (operandBits <= 0x3F, "operand must be lower than 0x40"); static if (!isA) assert (operandBits <= 0x1F); }

Meta