NEC V30MZ instruction set
From WSdev Wiki
Jump to navigationJump to search
AAA | AAD | AAM | AAS | ADC | ADD | AND | BOUND | CALL | CBW | CLC |
CLD | CLI | CMC | CMP | CMPSB | CMPSW | CS | CWD | DAA | DAS | DEC |
DIV | DS | ENTER | ES | HLT | IDIV | IMUL | IN | INC | INSB | INSW |
INT | INTO | IRET | JA | JBE | JC | JCXZ | JG | JGE | JL | JLE |
JMP | JNC | JNO | JNP | JNS | JNZ | JO | JP | JS | JZ | LAHF |
LDS | LEA | LEAVE | LES | LOCK | LODSB | LODSW | LOOP | LOOPE | LOOPNE | MOV |
MOVSB | MOVSW | MUL | NEG | NOP | NOT | OR | OUT | OUTSB | OUTSW | POLL |
POP | POPA | POPF | PUSH | PUSHA | PUSHF | RCL | RCR | REP | REPNE | RET |
RETF | ROL | ROR | SAHF | SAR | SBB | SCASB | SCASW | SHL | SHR | SS |
STC | STD | STI | STOSB | STOSW | SUB | TEST | XCHG | XLAT | XOR |
Official instructions by type
Type | Instructions | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Memory | MOV | XCHG | XLAT | LEA | LDS | LES | ||||||||||
Ports | IN | OUT | INSB | OUTSB | INSW | OUTSW | ||||||||||
Arithmetic | ADD | SUB | ADC | SBB | INC | DEC | MUL | DIV | IMUL | IDIV | CMP | NEG | ||||
Numeric | CBW | CWD | AAA | AAS | AAM | AAD | DAA | DAS | ||||||||
Shift | ROL | ROR | RCL | RCR | SHL | SHR | SAR | |||||||||
Bitwise | AND | OR | XOR | NOT | TEST | |||||||||||
Branch | JC | JNC | JZ | JNZ | JBE | JA | JO | JNO | JP | JNP | JS | JNS | JL | JGE | JLE | JG |
Jump | JMP | CALL | RET | RETF | ||||||||||||
Loop | LOOP | LOOPE | LOOPNE | |||||||||||||
Interrupt | INT | IRET | INTO | HLT | BOUND | |||||||||||
Stack | PUSH | POP | PUSHA | POPA | PUSHF | POPF | ||||||||||
Flags | CLC | STC | CLD | STD | CLI | STI | CMC | LAHF | SAHF | |||||||
Prefix | CS | DS | ES | SS | ||||||||||||
String | REP | REPE | REPNE | MOVSB | MOVSW | LODSB | STOSB | LODSW | STOSW | CMPSB | SCASB | CMPSW | SCASW | |||
Other | NOP | ENTER | LEAVE | LOCK | POLL |
Official instructions
AAA
AAD
AAM
AAS
ADC
ADD
AND
BOUND
CALL
CBW
CLC
CLD
CLI
CMC
CMP
CMPSB
CMPSW
CS
CWD
DAA
DAS
DEC
DIV
DS
ENTER
ES
HLT
IDIV
IMUL
IN
INC
INSB
INSW
INT
INTO
IRET
JA
JBE
JC/JB
JCXZ
JG
JGE
JL
JLE
JMP
JNC/JAE
JNO
JNP
JNS
JNZ/JNE
JO
JP
JS
JZ/JE
LAHF
LDS
LEA
LEAVE
LES
LOCK
LODSB
LODSW
LOOP
LOOPE
LOOPNE
MOV
MOVSB
MOVSW
MUL
NEG
NOP
NOT
OR
OUT
OUTSB
OUTSW
POLL
POP
POPA
POPF
PUSH
PUSHA
PUSHF
RCL
RCR
REP/REPE/REPZ
REPNE/REPNZ
RET
RETF
ROL
ROR
SAHF
SAR
SBB
SCASB
SCASW
SHL
SHR
SS
STC
STD
STI
STOSB
STOSW
SUB
TEST
XCHG
XLAT