@opcode(<EOL><NUM_LIT>, <EOL><NUM_LIT>, <EOL>)<EOL><INDENT>def instruction_LEA_pointer(self, opcode, ea, register):<DEDENT>
<INDENT>log.debug(<EOL>"<STR_LIT>" % (<EOL>self.program_counter,<EOL>register.name, register.name, ea,<EOL>self.cfg.mem_info.get_shortest(ea)<EOL>))<EOL><DEDENT>register.set(ea)<EOL>
Calculates the effective address from the indexed addressing mode and
places the address in an indexable register.

LEAU and LEAS do not affect the Z bit to allow cleaning up the stack
while returning the Z bit as a parameter to a calling routine, and also
for MC6800 INS/DES compatibility.

LEAU -10,U   U-10 -> U     Subtracts 10 from U
LEAS -10,S   S-10 -> S     Used to reserve area on stack
LEAS 10,S    S+10 -> S     Used to 'clean up' stack
LEAX 5,S     S+5 -> X      Transfers as well as adds

source code forms: LEAS, LEAU

CC bits "HNZVC": -----