4.1 Getting started
- Read IA-32 Volume 1 [3] Pages 2-1 -- 2-7. This is
a short history of the Intel 32-bit architecture.
- Look at IA-32 Volume 1 [3] Pages 2-25 - 2-26. This is a table
of key features from some of Intel's processors.
- Look at IA-32 Volume 1 [3] Page 3-2.
The "Basic" Intel execution environment.
- Look at IA-32 Volume 1 [3] Page 3-4.
The general purpose registers. This is the sub-set of registers we will be
using this semester.
- Look at IA-32 Volume 1 [3] Page 4-4.
The top eight items in Figure 4.3 is most of what we will
be using this semester.
- Read Carter Chapter #1 pages 1 - 30.
Chapter 1. This is an introduction to some of what we will be covering this semester.
- New curriculum.
- Computer system and processor architecture.
- Flat memory model.
- Efficient programming
- Computer time
- People time
- Optimization & Profiling
- "C" Programming & pointers
- Device drivers
- Embedded processors including DSPs (Digital Signal Processors)
- The embedded system programmers view
- The application programmers view
- The system programmers view
- Common features
- Special features
- I/O devices
- DMA/Interrupts
- Floating point
- Tools & Development cycle
- Editor
- Assembler
- nasm
Portable. gpl'ed. Manual available on line.
Intel operand order. (Preferred: 8/25/2004)
- MASM Microsoft
Win/DOS only. Intel operand order.
- TASM Borland
Win/DOS only. Compatibility mode for MASM.
Intel operand order.
- gas
Portable. Different format. Reversed order of operands.
Poor documentation and error messages. gpl'ed.
- Compiler
- Debugger
- IDE (Integrated Development Environment)
- Operating System
- Install the nasm assembler on the system you plan to use.
- Get an account on gort, if you plan on using it.
- Get and install an ssh (secure shell) client if you plan to use gort.
- Run a sample program.
- Change the program so it prints your name and the date. Turn in a printout of
your source code and your output.
- Logging on to gort using a MS Windows system and
putty
pico
filename
Bring up filename in the text editor pico
. You can use the
alternate form:
exit
Used to log off the system.
Instructor: Louis Taber, louis.taber.at.pima at gmail dot com (520) 206-6850
My web site in California
The Pima Community College web site