Pointers and references: Difference between revisions
m
→Pointers
Puppydrum64 (talk | contribs) m (→Pointers) |
Puppydrum64 (talk | contribs) m (→Pointers) |
||
Line 2:
=={{header|6502 Assembly}}==
===Pointers===
In most languages, a number that is an operand in an instruction, such as <code>mov ax,3</code> or <code>int x = 3;</code>, is an <i>immediate number</i>, i.e. a constant that equals the value of that number.
<lang 6502asm>LDA $19 ;load the value at memory address $19 into the accumulator
|