STA                  STA Store accumulator in memory                  STA

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

  +----------------+-----------------------+---------+---------+----------+
  | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
  +----------------+-----------------------+---------+---------+----------+
  |  ZeroPage      |   STA $FF             |   $85   |    2    |    3     |
  |  ZeroPage,X    |   STA $FF,X           |   $95   |    2    |    4     |
  |  Absolute      |   STA $FFFF           |   $8D   |    3    |    4     |
  |  Absolute,X    |   STA $FFFF,X         |   $9D   |    3    |    5     |
  |  Absolute,Y    |   STA $FFFF,Y         |   $99   |    3    |    5     |
  |  (Indirect,X)  |   STA ($FF,X)         |   $81   |    2    |    6     |
  |  (Indirect),Y  |   STA ($FF),Y         |   $91   |    2    |    6     |
  +----------------+-----------------------+---------+---------+----------+
  For penalty cycles on the 65816, check the desired addressing mode.

 65816 Extensions:

  +----------------+-----------------------+---------+---------+----------+
  | Addressing Mode| Assembly Language Form| OP CODE |No. Bytes|No. Cycles|
  +----------------+-----------------------+---------+---------+----------+
  | AbsoluteLong   |   STA $FFFFFF         |   $8F   |    4    |     5    |
  | AbsoluteLong,X |   STA $FFFFFF,X       |   $9F   |    4    |     5    |
  | (Indirect)     |   STA ($FF)           |   $92   |    2    |     5    |
  | [Indirect Long]|   STA [$FF]           |   $87   |    2    |     6    |
  | [Ind.Long],Y   |   STA [$FF],Y         |   $97   |    2    |     6    |
  | Relative,S     |   STA $FF,S           |   $83   |    2    |     4    |
  | (Indirect,S),Y |   STA ($FF,S),Y       |   $93   |    2    |     7    |
  +----------------+-----------------------+---------+---------+----------+