Jump to content
Sign in to follow this  
amohr

very serious bug in generated assembly!!!

Recommended Posts

for my project PicAnt 5.04 generated the following stub for the interrupt handler:

 

_interrupt

_interruptint_save_cont_W

swapf int_save_cont_STATUS

swapf FSR, W

movwf int_save_cont_PCLATH

goto interrupt_body

 

my interrupt body got compiled to address: 0x00CB

 

note how PCLATH isn't being cleared!  This means everytime the interrupt handler gets hit it jumps to random code (if PCLATH<4:3> points to the wrong page).

 

eeeeeeee!!!  Please fix as this is a very critical bug & contact me @ amohr@adobe.com

 

- Alex

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...
Sign in to follow this  

×
×
  • Create New...