@opcode(<EOL><NUM_LIT>, <EOL><NUM_LIT>, <EOL>)<EOL><INDENT>def instruction_LEA_register(self, opcode, ea, register):<DEDENT>
<INDENT>log.debug("<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>self.Z = <NUM_LIT:0><EOL>self.set_Z16(ea)<EOL>
see instruction_LEA_pointer

        LEAX and LEAY affect the Z (zero) bit to allow use of these registers
        as counters and for MC6800 INX/DEX compatibility.

        LEAX 10,X    X+10 -> X     Adds 5-bit constant 10 to X
        LEAX 500,X   X+500 -> X    Adds 16-bit constant 500 to X
        LEAY A,Y     Y+A -> Y      Adds 8-bit accumulator to Y
        LEAY D,Y     Y+D -> Y      Adds 16-bit D accumulator to Y

        source code forms: LEAX, LEAY

        CC bits "HNZVC": --a--