Page 1 of 1

Bootloader3 Problem

Posted: Wed Feb 04, 2009 1:35 am
by GeniusCobyWalker
Assembled Using:

Code: Select all

nasm -f bin -o boot.bin boot.s

Error:

Code: Select all

boot.s:89: error: program origin redefined

Line 89:

Code: Select all

org 0x1000


Does NASM not let you have multiple org lines?
Whats wrong?

If I take this out wont my addresses be wrong?

Thanks,
GeniusCobyWalker

Posted: Wed Feb 04, 2009 11:32 pm
by Mike
Hello,

I apologize; that tutorial's end "demo" was for demonstration purposes only and is not possible to assemble directly for the reason you have ran into.

In the next series review, that section will be updated with an actual working demo.

For now I would not worry to much about it as the code will not be used.