New edition of my NASM-based tutorial
pacman128_at_hotmail.com
Date: 11/23/03
- Previous message: C: "Re: A Parable of Two Carpenters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 Nov 2003 17:05:36 GMT
I would like to announce that I have a new edition of my free online
PC assembly language tutorial available. The tutorial covers
programming in 32-bit protected mode. (It does NOT discuss how to
create a protected mode environment, it only covers how to program in
a existing one, either Windows or Linux.)
The text is adapted from a class I taught at the University of Central
Oklahoma. Its main audience is the C/C++ programmer who wants to learn
assembly either to use it directly from C/C++ or just to learn what
goes on underneath a higher level language like C and C++.
The assembler used is the Netwide Assembler (NASM). The text focuses
mostly on using NASM with the free GNU-based DJGPP C/C++
compiler. However, using the Linux GNU, Borland, Microsoft and Open Watcom
compilers are also discussed. Example code is provided for all 5
environments.
The tutorial is available in 2 formats: PDF and Postscript. It may be
freely copied and distributed. Teachers are encouraged to use it for
their classes. However, I would appreciate knowing if you are using
it for a class.
The additions are:
1) Chapter 3: discussion of big and little endian (At work, I'm
having to deal with these every day now!)
2) Chapter 5: discussion of multidimensional arrays.
3) Chapter 7: discussion of C bit fields
4) A couple of minor typos fixed.
The other addition is example files for the free Open Watcom C/C++ compiler.
Also, the C files in the example files for the other compilers were
tweaked to make them more portable between the compilers. Please let me
know if you have any problems with the new example code.
You can download the tutorial and example files at:
http://www.drpaulcarter.com/pcasm/
As before, corrections and feedback are welcome.
-- Paul Carter
- Previous message: C: "Re: A Parable of Two Carpenters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|