nasm - ORG Directive
Posted: Fri Dec 24, 2010 8:04 am
Hi!
It was only beginning to learn assembler.
I use NASM to compile the files.
Always, everything was fine, but now I need to compile a file with *.asm to *.o
"nasm-f aout-o kernel.asm kernel.o"
I have a problem, because it shows me nasm error on this line:
"ORG 0x00001000"
I understand that files aout can not have ORG directive?
How to replace the ORG?
PS. Sorry for the mistakes, but I'm Polish; /
It was only beginning to learn assembler.
I use NASM to compile the files.
Always, everything was fine, but now I need to compile a file with *.asm to *.o
"nasm-f aout-o kernel.asm kernel.o"
I have a problem, because it shows me nasm error on this line:
"ORG 0x00001000"
I understand that files aout can not have ORG directive?
How to replace the ORG?
PS. Sorry for the mistakes, but I'm Polish; /