This shows you the differences between two versions of the page.
assembler:8086_88:cheat_sheet [2018/05/30 22:46] Daniel Gohlke removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ^Command^Description^ | ||
- | |AAA|ASCII adjust after addition| | ||
- | |AAD|ASCII adjust before divide| | ||
- | |AAM|ASCII adjust alter multiply| | ||
- | |AAS|ASCII adjust after subtract| | ||
- | |ADC|Add with carry| | ||
- | |ADD|Add| | ||
- | |AND|And| | ||
- | |CALL|Call| | ||
- | |CBW|Convert byte to word| | ||
- | |CLC|Clear carry flag| | ||
- | |CLD|Clear direction flag| | ||
- | |CLI|Clear interrupt flag| | ||
- | |CMC|Complement carry flag| | ||
- | |CMP|Compare| | ||
- | |CMPS|Compare string| | ||
- | |CMPSB|Compare string bytewise| | ||
- | |CMPSW|Compare string wordwise| | ||
- | |CWD|Convert word to double word| | ||
- | |DAA|Decimal adjust after addition| | ||
- | |DAS|Decimal adjust after subtract| | ||
- | |DEC|Decrement| | ||
- | |DIV|Divide (unsigned)| | ||
- | |ESC|Escape (to external device)| | ||
- | |HLT|Halt| | ||
- | |IDIV|Integer divide (signed)| | ||
- | |IMUL|Integer multiply (signed)| | ||
- | |IN|Input from| | ||
- | |INC|Increment| | ||
- | |INT|Interrupt| | ||
- | |INTO|Interrupt if overflow| | ||
- | |IRET|Interrupt return| | ||
- | |JA|Jump if above| | ||
- | |JAE|Jump if above or equal| | ||
- | |JB|Jump if below| | ||
- | |JBE|Jump if below or equal| | ||
- | |JCXZ|Jump if CX equal zero| | ||
- | |JE|Jump if equal| | ||
- | |JG|Jump if greater| | ||
- | |JGE|Jump if greater or equal| | ||
- | |JL|Jump if less| | ||
- | |JLE|Jump if less or equal| | ||
- | |JMP|Jump| | ||
- | |JNA|Jump if not above| | ||
- | |JNAE|Jump if not above and not equal| | ||
- | |JNB|Jump if not below| | ||
- | |JNBE|Jump if not below and not equal| | ||
- | |JNE|Jump if not equal| | ||
- | |JNG|Jump if not greater| | ||
- | |JNGE|Jump if not greater and not equal| | ||
- | |JNL|Jump if not less| | ||
- | |JNLE|Jump if not less and not equal| | ||
- | |JNO|Jump if no overflow| | ||
- | |JNP|Jump if no parity| | ||
- | |JNS|Jump if no sign| | ||
- | |JNZ|Jump if not zero| | ||
- | |JO|Jump if overflow| | ||
- | |JP|Jump if parity| | ||
- | |JPE|Jump if parity even| | ||
- | |JPO|Jump if parity odd| | ||
- | |JS|Jump if sign| | ||
- | |JZ|Jump if zero| | ||
- | |LAHF|Load AH with flags| | ||
- | |LDS|Load pointer using DS| | ||
- | |LEA|Load effective address to register| | ||
- | |LES|Load pointer using ES| | ||
- | |LOCK|Lock Bus| | ||
- | |LODS|Load string to AL/AX| | ||
- | |LODSB|Load string bytewise to AL| | ||
- | |LODSW|LODSW Load string wordwise to AX| | ||
- | |LOOP|Loop CX times| | ||
- | |LOOPE|Loop CX times while equal| | ||
- | |LOOPNE|Loop CX times while not equal| | ||
- | |LOOPNZ|Loop CX times while not zero| | ||
- | |LOOPZ|Loop CX times while zero| | ||
- | |MOV|Move| | ||
- | |MOVS|Move string| | ||
- | |MOVSB|Move string bytewise| | ||
- | |MOVSW|Move string wordwise| | ||
- | |MUL|Muliply (unsigned)| | ||
- | |NEG|Negate| | ||
- | |NOP|No Operation| | ||
- | |NOT|Invert| | ||
- | |OR|Or| | ||
- | |OUT|Output to| | ||
- | |POP|Pop| | ||
- | |POPF|Pop flags| | ||
- | |PUSH|Push| | ||
- | |PUSHF|Push flags| | ||
- | |RCL|Rotate through carry left| | ||
- | |RCR|Rotate through carry right| | ||
- | |REP|Repeat CX times| | ||
- | |REPE|Repeat CX times while equal| | ||
- | |REPNE|Repeat CX times while not equal| | ||
- | |REPNZ|Repeat CX times while not zero| | ||
- | |REPZ|Repeat CX times while zero| | ||
- | |RET|Return from procedure| | ||
- | |ROL|Rotate left| | ||
- | |ROR|Rotate right| | ||
- | |SAHF|Store AH into flags| | ||
- | |SAL|Shift arithmetic left| | ||
- | |SAR|Shift arithmetic right| | ||
- | |SBB|Subtract with borrow| | ||
- | |SCAS|Scan string| | ||
- | |SCASB|Scan string bytewise| | ||
- | |SCASW|Scan string wordwise| | ||
- | |SHL|Shift logical left| | ||
- | |SHR|Shift logical right| | ||
- | |STC|Set carry flag| | ||
- | |STD|Set direction flag| | ||
- | |STI|Set Interrupt flag| | ||
- | |STOS|Store string from AL/AX| | ||
- | |STOSB|Store string bytewise from AL| | ||
- | |STOSW|Store string wordwise from AX| | ||
- | |SUB|Subtract| | ||
- | |TEST|Test| | ||
- | |WAIT|Wait for test| | ||
- | |XCHG|Exchange| | ||
- | |XLAT|Translate byte to AL| | ||
- | |XOR|Exclusive or| | ||