NEC V30MZ
From WSdev Wiki
Jump to navigationJump to search
The NEC V30MZ is the CPU component of the WonderSwan SoC.
Unlike the NEC V20/V30 CPU family, the V30MZ is fully compatible with the Intel 80186's documented behaviour, as well as some of its undocumented behaviour (such as the SALC opcode); it also omits the V20/V30's opcode extensions.
Format
The NEC V30MZ datasheet provides distinct names for opcodes, flags and registers, which the wiki refers to as NEC names. As all homebrew compilers and assemblers for the platform utilize Intel's official naming (Intel names), the latter is what is used throughout. For registers and flags, distinct NEC names are presented in the following format: IntelNEC.