Jump to content

mios_reset.inc


Recommended Posts

Guest nomadicWhale
Posted

Hi,

Just out of curiosity...

     org      0x0000

     goto      MIOS_STARTUP

     goto      MIOS_STARTUP

Why the double goto instructions?

Thanks

nW

Posted

Hi,

the first "goto" will be overwritten by the first-level bootstrap loader, so that the PIC branches to 0x7c00 after reset. If this bootstrap loader doesn't get a SysEx command within 2 seconds, it will branch to 0x0004 (the second goto)

Best Regards, Thorsten.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...