Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About jwanderson

  • Rank
  1. Viewing the .asm for the following code... within case 0: RP0 is set to access pie1 in bank 1. the switch is then exitted and execution returns to the top of the while loop. execution then breaks after the test of ccpr1l != 0xaa because RP0 is still set, (pointing to bank 1) and ccpr1l is in bank 0. additional notes: if a variable assignment (pie1 = 0x04) is used to access pie1 instead of the clear_bit(), RP0 seems to be properly reset. if the case statement containing clear_bit(pie1, xx) is the last case within the switch, RP0 seems to be properly reset. I don'
  • Create New...