CHAPTER 3

Elements of Assembly Language

This chapter tells how to write and execute assembly language programs in the Visual Studio 2008 environment. The first section describes the statements that are accepted by Visual Studio’s assembler. Then there is an example of a complete assembly language program, with instructions on how to assemble, link, and execute this program using the Visual Studio’s debugger. Sections 3.3 and 3.4 provide additional information about operands for data definition directives and executable instructions, respectively. Section 3.5 gives an example of an assembly language program that employs input and output, and Section 3.6 describes in more detail the I/O macros used in this book. Section 3.7 presents examples of ...

Get Introduction to 80x86 Assembly Language and Computer Architecture, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.