Immediate addressing
Immediate addressing in the 6502 microprocessor is used to reference a numerical value, not a memory address. Regardless, it is still called "addressing". By using immediate addressing you can load a value directly into a general purpose register.
Example using LDA
LDA #$42
This loads the number 42 into the accumulator. Note that for immediate addressing you have to prefix the hexadecimal number with the # sign.
Related Pages
page revision: 9, last edited: 15 Jul 2012 06:13