mosa/MOSA-Project

X86 Expanded LEA instruction

tgiphil opened this issue · 0 comments

LEA can be expanded to:

  1. Provide scale (x 2, 4, 8) multiplier
  2. Addition of two registers plus a constant
  3. And 1 + 2 combined

The current compiler does not utilize LEA in the capacities listed above.