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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...