NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: Imran on March 03, 2011, 03:40:25 PM

Title: - Jumping to Program Code from BootLoader-
Post by: Imran on March 03, 2011, 03:40:25 PM
Hello Again.

I have posted a topic here before and you guys seem to be quite helpful and friendly, so I have another problem I need help with. I have a program that is too big for the bootloader (Which can have a maximum of 512 BYTES). I read that you can have a small bootloader that can "Jump" to a bigger program, but I don't know how to do this.

I Think I would have to use the:
Code: [Select]
ORG But I am clueless. Could Someone post some example code or good tutorials please.

Any Help appreciated.

P.S I am new to assembler.
Title: Re: - Jumping to Program Code from BootLoader-
Post by: Keith Kanios on March 03, 2011, 04:35:57 PM
Bootloader @ OSDev.org Wiki (http://wiki.osdev.org/Bootloader).
Title: Re: - Jumping to Program Code from BootLoader-
Post by: Imran on March 03, 2011, 06:13:55 PM
Thanks for the reply,
but please bear with my ignorance, but I cannot seem to find any code examples, It seems to only explain how its done.



Title: Re: - Jumping to Program Code from BootLoader-
Post by: Keith Kanios on March 04, 2011, 12:49:55 AM
Review BootProg and/or Bootf at the bottom of the aforementioned page.
Title: Re: - Jumping to Program Code from BootLoader-
Post by: Imran on March 04, 2011, 04:28:53 PM
Once again, Thank you.