Author Topic: Assembly in an OS...  (Read 10199 times)

7smurfs

  • Jackass III
  • Posts: 135
  • Karma: +12/-0
Assembly in an OS...
« 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?

ygfperson

  • Founders
  • Posts: 601
  • Karma: +10/-1
    • Last.fm
Assembly in an OS...
« Reply #1 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.

VBprogrammer

  • Back on GMT thank god
  • Jackass IV
  • Posts: 747
  • Karma: +13/-21
Assembly in an OS...
« Reply #2 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 :)