Closed dylanmckay closed 8 years ago
This is a worse problem that I had thought - even ldi
doesn't support relocations.
I have audited all instructions which take immediates, looked up the relocations they correspond to, and implemented all of them :)
Will merge once CI passes.
It was discovered in #184 that some instructions would silently ignore relocatable expressions (i.e.
SYMBOL
orSYMBOL+4
) in place of immediates, and set them to zero.This PR adds support for expressions to other instructions which are missing it.