Home above

Search:
Suche starten
in Deutsch

Opcode Maps

CodeX Assembler Opcode Maps are defining an amount of CPU instruction sets, register groups, instruction prefixes and CPU instructions with the according opcodes, that can be used for CodeX Assembler programs.
An Opcode Map's native form is a text file, that applies to an own syntax (see CodeX Assembler Documentation for further details). This file can be compiled by CodeX Assembler itself and be selected as the Opcode Map to use. The advantage of this concept is, that new instruction sets easily can get integrated into CodeX Assembler without modifying the Assembler itself, and that even the user may extend the CodeX Assembler Opcode Map by want.

To compile an Opcode Map text file and to select it afterwards as the one to use, run CodeX Assembler with the command line argument -opcmp [filename]. There can be selected only one Opcode Map at the same time, that means, by selecting a new one, the old one will be overwritten. If you want to select an Opcode Map, you must select the source, since compiling and selecting a map is performed as one process by CodeX Assembler (so it isn't possible to select an already compiled Opcode Map).
To get information about the currently selected Opcode Map, give CodeX Assembler the command line argument -opi. The occuring window shows a summary of the Opcode Map then (CPUs, instruction sets, register groups, registers, instruction prefixes and CPU instructions), and furthermore you can call detailed information about each instruction, register and so on.

The following Opcode Maps are as text files and can be selected as current Opcode Map for CodeX Assembler as described above.

Opcode Maps