Open main menu

CDOT Wiki β

Changes

6502 Instructions - Introduction

29 bytes removed, 11:19, 19 January 2022
Register-Memory Loads and Stores
There are three instructions to load data from memory to a register:
<code> LDA ; load the accumulator LDX ; load the X register LDY ; load the Y register</code>
And there are three matching instructions to store data from a register to a memory location:
<code> STA ; store the accumulator STX ; store the X register STY ; store the Y register</code>
=== Push/Pull on the Stack ===