LDY                   LDY Load index Y with memory                    LDY
  Operation:  M -> Y                                    N V - B D I Z C
                                                        / . . . . . / .
  +----------------+-----------------------+---------+---------+----------+
  | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
  +----------------+-----------------------+---------+---------+----------+
  |  Immediate     |   LDY #$FF            |   $A0   |    2    |    2     |
  |  ZeroPage      |   LDY $FF             |   $A4   |    2    |    3     |
  |  ZeroPage,X    |   LDY $FF,X           |   $B4   |    2    |    4     |
  |  Absolute      |   LDY $FFFF           |   $AC   |    3    |    4     |
  |  Absolute,X    |   LDY $FFFF,X         |   $BC   |    3    |    4*    |
  +----------------+-----------------------+---------+---------+----------+
  * Add 1 when page boundary is crossed.
  For penalty cycles on the 65816, check the desired addressing mode.
What it does: Loads the Y Register with a byte from memory.
Major uses: The Y Register can perform many of the tasks that the Accumulator performs, but it is generally used as an index for loops. In preparation for its role as an index, LDY puts a value into the register.