EntropySink

Technical & Scientific => Programming => Topic started by: 7smurfs on June 27, 2005, 07:28:23 PM

Title: Assembly in an OS...
Post by: 7smurfs on June 27, 2005, 07:28:23 PM
Does it matter what assembler (TASM, NASM, GAS, etc) you use when developing the OS? I know it has to be for the right CPU, but are there any other compatibility problems that one should know about involving assembly?
Title: Assembly in an OS...
Post by: ygfperson on June 27, 2005, 09:43:40 PM
i don't think so... you're basically creating a binary with certain specifications. none of the assemblers lack assembly commands or the ability to do simple macros.
Title: Assembly in an OS...
Post by: VBprogrammer on June 28, 2005, 05:59:30 PM
I'd recommend NASM, by default it doesn't add any shite to you binary...which is handy. It doesn't include any of the 'high level' commands, such as print routines which wouldn't work in your own OS anyway :)