An opcode table (also called an opcode matrix) is a visual representation of all opcodes in an instruction set. It is arranged such that each axis of the table represents an upper or lower nibble, which combined form the full byte of the opcode. Additional opcode tables can exist for additional instructions created using an opcode prefix.

Table values

The structure and arrangement of an opcode table appears as follows:

0123456789ABCDEF
0 000102030405060708090A0B0C0D0E0F
1 101112131415161718191A1B5C1D1E1F
2 202122232425262728292A2B2C2D2E2F
3 303132333435363738393A3B3C3D3E3F
4 404142434445464748494A4B4C4D4E4F
5 505152535455565758595A5B5C5D5E5F
6 606162636465666768696A6B6C6D6E6F
7 707172737475767778797A7B7C7D7E7F
8 808182838485868788898A8B8C8D8E8F
9 909192939495969798999A9B9C9D9E9F
A A0A1A2A3A4A5A6A7A8A9AAABACADAEAF
B B0B1B2B3B4B5B6B7B8B9BABBBCBDBEBF
C C0C1C2C3C4C5C6C7C8C9CACBCCCDCECF
D D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF
E E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF
F F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF

Each cell from 00-FF contains information about the operation such as the equivalent assembly instruction corresponding to the opcode, parameters, and CPU cycle counts.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.