Opcode

From C64-Wiki

(Difference between revisions)
Jump to: navigation, search
m
Line 2: Line 2:
Examples:
Examples:
-
*INY is the opcode for '''IN'''crease '''Y''' register.
+
* $C8 (11001000) is the opcode for the [[Mnemonic|mnemonic]] [[INY]].
-
*NOP is the opcode for '''NO''' o'''P'''eration.
+
* $EA (11101010) is the opcode for the [[Mnemonic|mnemonic]] [[NOP]].
-
There are 56 official opcodes for the 6510 [[processor]] and 21 illegal opcodes.
+
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:

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.

Personal tools
Help and Feedback
In other languages