Much-Assembly-Required
Much-Assembly-Required copied to clipboard
LEA Instruction
trafficstars
Implement the LEA Instruction as explained in http://www.ousob.com/ng/iapx86/ng12bcf.php
To implement the LEA instruction, a major refactor of the Operand class is necessary. I think that it would be more worthwhile to work on the other features before jumping into this larger task. The opcode 0x001E is reserved for this instruction
Why would we need a refactor? I did some googling but cannot really figure this out. It seems destination is always a register and source is always a memory reference. The only problem i see is the missing bits to encode the multiplication part.