New edition of my NASM-based tutorial

pacman128_at_hotmail.com
Date: 11/23/03

  • Next message: Betov: "Re: Evolution"
    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 
    

  • Next message: Betov: "Re: Evolution"

    Relevant Pages

    • Re: Future of programming
      ... but again, let's not forget in my opinion the main purpose of programming, ... the more abstract the programming language ... code-generators, or even efficient compilers, which is not the case ... > fastest solution to the problem, then assembler is still needed. ...
      (alt.lang.asm)
    • Re: Future of programming
      ... > 4) Using object oriented languages with compilers, ... some things with assembler. ... the more abstract the programming language ...
      (alt.lang.asm)
    • Re: Assembly Language
      ... > assembly language just for debugging. ... are sufficient for a large amount of code, but compilers cannot completely ... Web programming used to be lucrative. ...
      (comp.lang.asm.x86)
    • Re: Evolution
      ... >> it different from HLL programming? ... inline assembler and larger parts by linking to an assembler ... the macro is from a macro library which you have written a long ... or two instructions if you ...
      (alt.lang.asm)
    • Re: HLA Stdlib v2.2 is now available.
      ... Its a generalization of the whole asm community based on the results of a single man. ... You dont get it. ... Because it is an assembler, and a very good one, showing the way for other spesific assemblers. ... As they both are needed for doing programming, I see no reason to seperate them. ...
      (alt.lang.asm)