Much-Assembly-Required icon indicating copy to clipboard operation
Much-Assembly-Required copied to clipboard

LEA Instruction

Open simon987 opened this issue 8 years ago • 2 comments
trafficstars

Implement the LEA Instruction as explained in http://www.ousob.com/ng/iapx86/ng12bcf.php

simon987 avatar Nov 11 '17 22:11 simon987

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

simon987 avatar Nov 12 '17 01:11 simon987

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.

kevinramharak avatar Jan 28 '19 22:01 kevinramharak