This PDF book covers the following topics related to
Assembly Language : Data Representation, Boolean Algebra, System Organization,
Memory Layout and Access, Variables and Data Structures, The 80x86 Instruction
Set, The UCR Standard Library, MASM: Directives & Pseudo-Opcodes, Arithmetic and
Logical Operations, Control Structures, Procedures and Functions, Procedures:
Advanced Topics, MS-DOS, PC-BIOS, and File I/O, Floating Point Arithmetic,
Strings and Character Sets, Pattern Matching, Interrupts, Traps, and Exceptions,
Resident Programs, Processes, Coroutines, and Concurrency, The PC Keyboard, The
PC Parallel Ports, The PC Serial Ports, The PC Video Display, The PC Game
Adapter, Optimizing Your Program.
Author(s): Institute of Computing, State
University of Campinas
The purpose of
this book is to give the reader a better understanding of how computers really
work at a lower level than in programming languages like Pascal. By gaining a
deeper understanding of how computers work, the reader can often be much more
productive developing software in higher level languages such as C and C++.
Learning to program in assembly language is an excellent way to achieve this
goal.
This pdf includes Number
Systems, Assembly Language, Computer Organization, Creating a Program, Skeleton
File, Working with Integers, Control Structures, Translating Standard Control
Structures, Shift Operations, Boolean Bitwise Operations, Manipulating bits in
C, Big and Little Endian Representations, Counting Bits, Indirect Addressing,
Simple Subprogram Example, The Stack, The CALL and RET Instructions, Calling
Conventions, Interfacing Assembly with C, Recursive Subprograms, Introduction,
Floating Point Representation, Floating Point Arithmetic, The Numeric
Coprocessor and Structures.
This PDF book covers
the following topics related to MIPS Assembly Language Programming : The MIPS
Architecture, Pseudocode, Number Systems, PCSpim The MIPS Simulator, Algorithm
Development, Reentrant Functions, Exception Processing, A Pipelined
Implementation, Embedded Processors.
Author(s): Computer Science
Department, California State University, Chico, California
The contents include:
Before we begin, First program, NASM syntax, Basic CPU instructions, Debugging with GDB,
First program linked with a C library, FPU, File operations, MMX, SSE, RDTS, Inline assembler,
Introduction,Registers, Memory.
The contents
include: High Level Languages, Machine Languages, Assembly Languages, Why Learn Assembly
Language, Why Learn ARM Assembly Lang, Von Neumann Architecture, Registers and RAM, ALU,
Instruction Format, Signed vs Unsigned, 32-bit Arithmetic, 8- and 16-bit Arithmetic, Loads
and Stores, Defining Data, Byte Order.
This note explains the
following topics: Introduction to Linux Assembly Language, x86 architecture,
64-bit x86 Assembly, ARM Assembly language, ARM Thumb, 8-bit 6502 or 16-bit
65c816 Programming, Video Game Programming and Assembly Code Optimization.