Opcode
From C64-Wiki
(Difference between revisions)
m |
|||
| Line 2: | Line 2: | ||
Examples: | Examples: | ||
| - | * | + | * $C8 (11001000) is the opcode for the [[Mnemonic|mnemonic]] [[INY]]. |
| - | * | + | * $EA (11101010) is the opcode for the [[Mnemonic|mnemonic]] [[NOP]]. |
| - | There are | + | There are ??? official opcodes for the 6510 [[processor]] and ??? illegal opcodes. |
Illegal opcodes are undocumented commands that were implemented for patent reasons - better identification of a "fake" chip when it comes to copyright infrigement, and are labelled "illegal" because they are not guaranteed to work stable. | Illegal opcodes are undocumented commands that were implemented for patent reasons - better identification of a "fake" chip when it comes to copyright infrigement, and are labelled "illegal" because they are not guaranteed to work stable. | ||
Revision as of 10:46, 31 December 2008
Opcodes (short for Operation code) are used when programming machine language.
Examples:
- $C8 (11001000) is the opcode for the mnemonic INY.
- $EA (11101010) is the opcode for the mnemonic NOP.
There are ??? official opcodes for the 6510 processor and ??? illegal opcodes.
Illegal opcodes are undocumented commands that were implemented for patent reasons - better identification of a "fake" chip when it comes to copyright infrigement, and are labelled "illegal" because they are not guaranteed to work stable.