Jump to content

mios_reset.inc


Guest nomadicWhale
 Share

Recommended Posts

Guest nomadicWhale

Hi,

Just out of curiosity...

     org      0x0000

     goto      MIOS_STARTUP

     goto      MIOS_STARTUP

Why the double goto instructions?

Thanks

nW

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...