flâneur — a map of the web's best reading

Guide to x86 Assembly

cs.virginia.edu · 5,464 words · saved by 1 readers

This guide describes the basics of 32-bit x86 assembly language programming, covering a small but useful subset of the available instructions and assembler directives. There are several different assembly languages for generating x86 machine code. The one we will use in CS216 is the Microsoft Macro Assembler (MASM) assembler. MASM uses the standard Intel syntax for writing x86 assembly code. The full x86 instruction set is large and complex (Intel's x86 instruction set manuals comprise over 2900 pages), and we do not cover it all in this guide. For example, there is a 16-bit subset of the x86 instruction set. Using the 16-bit programming model can be quite complex. It has a segmented memory model, more restrictions on register usage, and so on. In this guide, we will limit our attention to more modern aspects of x86 programming, and delve into the instruction set only in enough detail to get a basic feel for x86 programming. Modern (i.e 386 and beyond) x86 processors have eight 32-bit

Guide to x86 Assembly University of Virginia Computer Science CS216: Program and Data Representation, Spring 2006 08 March 2022 x86 Assembly Guide Contents: Registers | Memory and Addressing | Instructions | Calling Convention This guide describes the basics of 32-bit x86 assembly language programming, covering a small but useful subset of the available instructions and assembler directives. There are several different assembly languages for generating x86 machine code. The one we will use in CS216 is the Microsoft Macro Assembler (MASM) assembler. MASM uses the standard Intel syntax for writi

Explore this link on the map →

related reading