Example Programs
Display command line args in C
Display command line args in assembly
Add and printf two binary numbers in C
Add and printf two binary numbers in assembly
Assignment One
Assignment Two
Add two numbers and write in C
Add two numbers and write in assembly
Assignment Three
Assignment Four
Fetch number from the command line
Assignment Five
Add three multi-digit numbers from the command line
Assignment Six
Add three multi-digit numbers from the command line with a subroutine
Assignment Seven
Add three multi-digit numbers from the command line with a recursive subroutine
Assignment Eight
Add any number multi-digit numbers from the command line with the specified radix
Objectives
Unit One Objectives
PDP-8 Sample Program
Unit Two Objectives
Unix Help Pages
http://www.saintmarys.edu/~psmith/candunix.html
http://wwwlinuxdoc.org
http://www.emerson.emory.edu/services/unixhelp1.3/Pages
http://www.ee.surrey.ac.uk/Teaching/Unix
Assembly Help Pages
Software optimization resources
2004 IA-32 Intel Architecture Software Developer's Manual Volume
1: Basic Architecture
in PDF
2004 IA-32 Intel Architecture Software Developer's Manual Volume
2A: Instruction Set Reference A-M
in PDF
2004 IA-32 Intel Architecture Software Developer's Manual Volume
2B: Instruction Set Reference N-Z
in PDF
2004 IA-32 Intel Architecture Software Developer's Manual Volume
3: System Programming Guide
in PDF
Intel Architecture Software Developer's Manual Volume
1: Basic Architecture
in PDF
Intel Architecture Software Developer's Manual Volume
2: Instruction Set Reference
in PDF
Intel Architecture Software Developer's Manual Volume
3: System Programming Guide
in PDF
GNU as80386 Dependent Features
The GNU assembler (gas) documentation
in HTML
The GNU source-level debugger (gdb) documentation
in HTML
Assembly tutorial - http://www.strangecreations.com/library/assembly/
Assembly tutorial - http://www.faqs.org/faqs/assembly-language/x86/general/
Assembly tutorial - http://cs.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html
GNU Help Pages
The GNU gcc and "as" manuals - http://www.gnu.org/manual/
Using "as" - http://www.myri.com/scs/L3/doc/as_toc.html
http://www.loria.fr/~galibert/texi/as/as_1.html
http://www.linuxdoc.org/HOWTO/Assembly-HOWTO.html
http://www.math.utah.edu/docs/info/ld_2.html
http://www.intel.com/design/pentium/manuals/
http://www.ucmb.ulb.ac.be/documents/gcc_2.7.2/gcc_toc.html
http://www.efm.leeds.ac.uk/~as/gnu/info_html/g++FAQ_toc.html
Misc reference
http://linuxassembly.org
http://www.ice-digga.com/programming/proglink.html
http://www.upl.cs.wisc.edu/~epaulson/links.html