This shows you the differences between two versions of the page.
developersguide:assemblylanguageprogramming [2014/11/17 13:22] |
developersguide:assemblylanguageprogramming [2014/11/17 13:22] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Assembly Language Programming ===== | ||
+ | Assembly can be a frightening experience, even for well-seasoned C coders. These resources are here to be of use to anyone wanting to work with assembly in Minix. | ||
+ | |||
+ | ==== Learning Assembly Language ==== | ||
+ | Main Page: [[.:learningassemblyinminix|Learning Assembly in MINIX]] | ||
+ | |||
+ | These are resources to aid users in learning assembler as it relates to Minix. Note: the prerequisite for this is knowing C. If you do not already know C, you'll save yourself many headaches by doing this first. | ||
+ | |||
+ | * **Use the compiler** - Write a simple C program that demonstrates what you want to do, then translate it to assembly with:''$ cc -S myprogram.c'' | ||
+ | * **Dr. Paul Carter’s Assembly Tutorial** - http://drpaulcarter.com/pcasm/ | ||
+ | * Intel 64 and IA-32 Architectures Software Developer’s Manuals - http://www.intel.com/products/processor/manuals/ | ||
+ | * Other Resources (see [[.:learningassemblyinminix|Learning Assembly in MINIX]]) | ||
+ | |||
+ | ==== Examples ==== | ||
+ | These are just some examples of assembly for Minix. | ||
+ | |||
+ | * **Use the compiler** - Write a simple C program that demonstrates what you want to do, then translate it to assembly with:''$ cc -S myprogram.c'' | ||
+ | * Appendix B from OSDI - http://www.minix3.org/doc/AppendixB.html | ||