Writing an OS kernel in assembly with NASM

Posted by Betamoo on Stack Overflow See other posts from Stack Overflow or by Betamoo
Published on 2010-05-19T10:02:48Z Indexed on 2010/06/02 22:24 UTC
Read the original article Hit count: 379

I want to know what is the standard way for writing a -simple- kernel to be compiled on NASM?

To get it clearer: I was able to define the code block with all the following ways:

[segment code]
[segment .code]
segment code
segment .code

[section code]
[section .code]
section code
section .code

I need to know what is the standard way to do that, And what is the difference between them...

Thanks

© Stack Overflow or respective owner

Related posts about assembly

Related posts about kernel