<snip>
Thank you. Right now I know what the correct syntax is for Mac OS X assembly I can move forward. I've read so many tutorials and because I didn't know I didn't know if they were in the correct style or not.
That was incredibly useful.
Interestingly though the program you posted above only worked on my machine if I swapped the write() function and the file descriptor functions around. It said bad system call otherwise.
Also assembly does not seem to interpret '\n' as C does. I guess I'll need to use the raw code for a new line character and the append it on the end of every string?
Edit : It seems you don't need a newline character at all. Hmm that's odd, I would have thought you would have had to explicitly state that you wanted to have a newline?