It says that the operand "org" cannot be used in AOUT.
I dnt have my comp, soon I wil giv my source and a photo of the error.
Search found 3 matches
- Sat Sep 29, 2012 2:35 pm
- Forum: Beginning OS Development
- Topic: Combining C and Assembly for the bootloader
- Replies: 3
- Views: 51747
- Sat Sep 29, 2012 2:32 pm
- Forum: Beginning OS Development
- Topic: Combining C and Assembly for the bootloader
- Replies: 3
- Views: 51747
Re: Combining C and Assembly for the bootloader
LOL, I am not so dumb.I have been programing Hardware since 2 years.I used to mix C and Assembly.But I have unusual error.
NASM builds fyn in BIN as ouput but not in aout format.
NASM builds fyn in BIN as ouput but not in aout format.
- Fri Sep 28, 2012 8:30 am
- Forum: Beginning OS Development
- Topic: Combining C and Assembly for the bootloader
- Replies: 3
- Views: 51747
Combining C and Assembly for the bootloader
I know C much better than Assembly.I am trying to mix both C and Assembly.I have created a C File and used "extern _blmain jmp _blmain" in the assembly.But the trouble I face it that NASM give me a list of errors when I try to produce the code in aout format. Whats the problem here?? Or is there any...