ND-500 opcode matrix

One cell per opcode. Click a cell for details. Dashed: no entry in instructions.json. Double border: one opcode with several data types. Hover a filter heading for what it does.

Filter by instruction classPick one class (Move, Arithmetic, Branch and so on). Cells of every other class dim. Click it again to switch it off.
Filter by CPUND-500 base: every instruction that is not an '87 extension instruction. '87 extension: the instructions the manual labels ('87 extension); they came with the ND-5000. Pick one; the other dims.
Filter by nd500x emulatorHas a handler: the opcode has an entry in the dispatch table of the nd500x emulator. No handler: the emulator raises the illegal instruction trap. A handler does not prove the instruction is complete or correct. Pick one; the other dims.
Filter by data typeThe type is the letter or letters in the label, the W in W1 +. Pick one or more; cells with another type dim.
Search by nameType part of a mnemonic or function name, for example add or move. Combines with the filters above.
Opcode mapThe first byte has one map. Each prefix byte 0xFC to 0xFF has its own map for the second byte. While a filter is on, the number on a tab is how many opcodes in that map match.

Source: docs/instructions/instructions.json, 1097 entries, 1067 distinct opcodes; 22 opcodes are listed by more than one entry (double border): the manual confirms this for six instructions (CLR, NEG, ABS, LADDR, RLADDR, BLADDR).

The '87 extension is tagged in instructions.json (field extension): 23 instructions with 34 entries and 34 distinct opcodes; the rest is 229 instructions with 1063 entries and 1033 distinct opcodes. The manual lists 25 '87 instructions; the two that are not in the data are AMODB and RHOLE.

nd500x emulator: 1062 of the 1067 opcodes have an entry in the dispatch table of src/cpu/nd500_instructions.c; 5 have none (NCPLC, RECVE, SEND, TOSSP:=, WHOLE) and raise the illegal instruction trap. An entry says a handler exists, not that it is complete or correct.

Data type: the variant-numbered entry of the entry's prefixes field. Register: position 1-4 within the four consecutive opcodes of one variant.

Cross-check of data type and register against test/nd500-conformance.json: 195 of 196 opcodes agree; the others: 0xFEE1 (no opcode of that value in instructions.json).