A 3-letter opcode for the 6502 processor. It is one of the most frequently used operations. This opcode loads an 8-bit value in the Y register. It can then, for example, be transferred to the Accumulator by using the TYA instruction, or vice versa using the TAY instruction.

Back to the 6502 opcodes metanode

A 6502 instruction that loads a new value into the Y register.
  • Function: N => X
  • Updates flags: S . . . . . Z .
  • Opcode numbers:
    imm   $A0
    dp    $A4
    d,x   $B4
    abs   $AC
    a,x   $BC

Similar: LDA | LDX | STY
See also: 6502 instructions | 6502 addressing modes

Log in or register to write something here or to contact authors.