Hi so I have to write an asm program with some C embedded in it for my Assembly Language class and I just do not know how to do this on my MBP. so far I got my .s file to produce a .o file using the command "as -o Lab_3.o Lab_3.s" and when I try to execute the .o file it says "Permission Denied". I figured I had more in between steps so I try to build/link it (I don't know if there is a difference) using the commands "ld -o Lab_3 Lab_3.s", "ld -lcrt1.o -lSystem -o Lab_3 Lab_3.s", "ld /Developer/usr/lib/libgmalloc.B.dylib -o Lab_3 Lab_3.s", "ld /usr/lib/libgmalloc.B.dylib -o Lab_3 Lab_3.s". They all produce the same error message "ld: warning: -arch not specified ld: warning: -macosx_version_min not specified, assuming 10.7 ld: warning: ignoring file Lab_3.s, file was built for unsupported file format ( 0x a 0x a 0x2e 0x73 0x65 0x63 0x74 0x69 0x6f 0x6e 0x20 0x2e 0x64 0x61 0x74 0x61 ) which is not the architecture being linked (x86_64): Lab_3.s Undefined symbols for architecture x86_64: "start", referenced from: -u command line option ld: symbol(s) not found for inferred architecture x86_64" Please help me fix this. I have this due by Saturday morning and I am just so lost. Also if I need to link any libraries please explain to me how to do this in excruciating detail.