8086 assembler emulator in javascript
The emulator gives you 2 functions to work with.
- Status - shows you all the data in registers/memory
- Execute - takes one line of code, executes it if it's a valid instruction and changes the flags accordingly
Instruction | Is currently in emulator |
---|---|
AAA | false |
AAD | false |
AAM | false |
AAS | false |
ADC | true |
ADD | true |
AND | false |
CALL | false |
CBW | false |
CLC | true |
CLD | true |
CLI | true |
CMC | true |
CMP | false |
CMPSB | false |
CMPSW | false |
CWD | false |
DAA | false |
DAS | false |
DEC | false |
DIV | false |
HLT | false |
IDIV | false |
IMUL | false |
IN | false |
INC | false |
INT | false |
INTO | false |
IRET | false |
JA | false |
JAE | false |
JB | false |
JBE | false |
JC | false |
JCXZ | false |
JE | false |
JG | false |
JGE | false |
JL | false |
JLE | false |
JMP | false |
JNA | false |
JNAE | false |
JNB | false |
JNBE | false |
JNC | false |
JNE | false |
JNG | false |
JNGE | false |
JNL | false |
JNLE | false |
JNO | false |
JNP | false |
JNS | false |
JNZ | false |
JO | false |
JP | false |
JPE | false |
JPO | false |
JS | false |
JZ | false |
LAHF | false |
LDS | false |
LEA | false |
LES | false |
LODSB | false |
LODSW | false |
LOOP | false |
LOOPE | false |
LOOPNE | false |
LOOPNZ | false |
LOOPZ | false |
MOV | true |
MOVSB | false |
MOVSW | false |
MUL | false |
NEG | false |
NOP | false |
NOT | false |
OR | false |
OUT | false |
POP | false |
POPA | false |
POPF | false |
PUSH | false |
PUSHA | false |
PUSHF | false |
RCL | false |
RCR | false |
REP | false |
REPE | false |
REPNE | false |
REPNZ | false |
REPZ | false |
RET | false |
RETF | false |
ROL | false |
ROR | false |
SAHF | false |
SAL | false |
SAR | false |
SBB | false |
SCASB | false |
SCASW | false |
SHL | false |
SHR | false |
STC | true |
STD | true |
STI | true |
STOSB | false |
STOSW | false |
SUB | false |
TEST | false |
XCHG | false |
XLATB | false |
XOR | false |