Technical Support
Mnemonic: Purpose: Examples: mov src,dest: Move data between registers, load immediate data into registers, move data between registers and memory. Mov $4,%eax # Load constant into eax. When I made my first steps coding in the programming language Intel Assembly x86 I was looking for a compact list containing all instructions. Because I couldn't find any I created my own cheat sheet: includes most instructions (transfer, arithmetic, logic, jumps.) includes a diagram of the registers (EAX, EDX, ECX, EBX) and flags.
On-Line Manuals
8051 Instruction Set Manual
Architecture OverviewOpcodes![Assembly Assembly](/uploads/1/0/8/0/108074515/983852017.jpg)
The 8051 Instruction Set Manual explains the standard 8051 instructions. The 8051 Instruction Set is supported by the Keil Ax51 Macro Assembler and the in-line Assembler of the Keil Cx51 Compiler.
![2019 2019](/uploads/1/0/8/0/108074515/760325230.jpg)
This manual contains the following chapters:
- Architecture Overview describes the memory layout and CPU registers of several 8051 variants.
- Opcodes lists all opcodes ordered by opcode HEX value.
- Instructions describes all of the 8051 instructions.
Revision History
- January 2011: DA instruction adapted
- April 2007: Added Graphics
- September 2005: First draft
ProductsDevelopment Tools | Hardware & Collateral | Downloads | Support | Contact |
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback Copyright © 2005-2019 Arm Limited (or its affiliates). Vuescan negative lab pro. All rights reserved. |
The cheat sheet is intended for 32-bit Windows programming with FASM. One A4 page contains almost all general-purpose x86 instructions (except FPU, MMX and SSE instructions).
What is included
You will find various kinds of moves (MOV, CMOV, XCHG), arithmetical (ADD, SUB, MUL, DIV) and logical (AND, OR, XOR, NOT) instructions here. Several charts illustrate shifts (SHL/SHR, ROL/ROR, RCL/RCR) and stack frames. Code samples for typical high-level language constructs (if conditions, while and for loops, switches, function calls) are shown. Also included are quick references for RDTSC and CPUID instructions, description of string operations such as REP MOVSB, some code patterns for branchless conditions, a list of registers that should be saved in functions, and a lot of other useful stuff.
The idea Slack parrot. is to put all reference information about x86 assembly language on the one page. Some rarely-used instructions such as LDS, BOUNDS or AAA are skipped.
Notation
The cheat sheet use common notation for operands: reg means register, [mem] means memory location, and imm is an immediate operand. Also, x, y, and z denote the first, the second, and the third operand. Instruction mnemonics are written in capital letters to make them easier to find when you are skipping through the cheat sheet.
Example
Assembly Language Cheat Sheet
For example, let's look at multiplication and division section. There are instructions for signed (IMUL) and unsigned (MUL) multiplication. Both instructions take one operand, which may be register (reg) or memory ([mem]). There are three possible cases:
- If operand size is one byte, MUL or IMUL multiplies it by al and stores the result in ax
- If operand size is a word, MUL or IMUL multiplies it by ax and stores the high-order word of the result in dx and the low-order word in ax.
- If operand size is a double word, MUL or IMUL multiplies it by eax and stores the high-order dword in edx and the low-order dword in eax.
There are also two-operand and three-operand forms of IMUL shown on the figure above.
Other features of assembly language are described in a similar way.
Download
Assembly Language Cheat Sheet X86 Pdf
The cheat sheet is designed for A4 page size; if you print it on US Letter paper, you will get large margins. You can print the cheat sheet and put it on your table to look for some instructions when you forget them.
Assembly Code Cheat Sheet
Serbo-Croatian translation of this article by WHG Team.