Operand

From NES Hacker Wiki
Revision as of 16:04, 24 October 2012 by TheAlmightyGuru (talk | contribs) (Created page with "An '''''operand''''' is the data portion of a 6502 assembly instruction. This is to be distinguished from the opcode, which specifies the operation to perform. In the exa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An operand is the data portion of a 6502 assembly instruction. This is to be distinguished from the opcode, which specifies the operation to perform.

In the example below, JMP is the opcode and $1000 is the operand.

0001:4C 00 10  JMP $1000      ; Moves the execution pointer to $1000.