STA (short for "STore Accumulator") is the mnemonic for a machine language instruction which stores a copy of the byte held in the accumulator at the RAM or I/O address specified. The contents of the accumulator itself remains unchanged through the operation.
STA supports the 7 different addressing modes shown in the table at right. In the assembler formats listed, nn represents a single-byte (8-bit) figure, and nnnn is a two-byte (16-bit) address.
STA does not affect any of the CPU's status flags.