This PR is an implementation of #34, using the following approach:
Change the Instruction.get_imm() to return an Immediate that contains both an absolute value, and a pc relative value.
This forces the instruction implementation to explicitly differentiate between interpreting values as either the numerical value, or as a pc-relative address.
This PR is an implementation of #34, using the following approach:
Change the
Instruction.get_imm()
to return anImmediate
that contains both an absolute value, and a pc relative value.This forces the instruction implementation to explicitly differentiate between interpreting values as either the numerical value, or as a pc-relative address.