1.4 But I don't know Unix!

Well, this is something that you have to learn on-the-fly. Even if I were to use DOS tools, there is no OS class for DOS! Besides, there is plenty of documents online for your reference.

First thing first. For the most detailed (and longest) document of the assembler itself, go to http://www.gnu.org/software/binutils/manual/gas-2.9.1/html_chapter/as_toc.html. We will only use a fraction of the features, and a fraction of its support for the x86 architecture. Nonetheless, this is the best reference material as far as the tool is concerned.

Most Unix tools have online manuals. To access the online manuals, use the man command. The following is a command to view the manual of the ls command:

man ls

That's fairly painless, isn't it? In man, use `q' to quit. The home, end, page-up and page-down keys do what they should. To search for a pattern forward, use `/', followed by the pattern to search for, then ENTER. To search for a pattern backward, use `?' instead.

The following is a list of commonly used commands in Unix/Linux. You can use man to find out more about these commands:

Copyright © 2009-04-16 by Tak Auyeung