LDX                   LDX Load index X with memory                    LDX

  Operation:  M -> X                                    N V - B D I Z C
                                                        / . . . . . / .

  +----------------+-----------------------+---------+---------+----------+
  | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
  +----------------+-----------------------+---------+---------+----------+
  |  Immediate     |   LDX #$FF            |   $A2   |    2    |    2     |
  |  ZeroPage      |   LDX $FF             |   $A6   |    2    |    3     |
  |  ZeroPage,Y    |   LDX $FF,Y           |   $B6   |    2    |    4     |
  |  Absolute      |   LDX $FFFF           |   $AE   |    3    |    4     |
  |  Absolute,Y    |   LDX $FFFF,Y         |   $BE   |    3    |    4*    |
  +----------------+-----------------------+---------+---------+----------+
  * Add 1 when page boundary is crossed.
  For penalty cycles on the 65816, check the desired addressing mode.