Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. PIC C interrupt using #int_global

PIC C interrupt using #int_global

Scheduled Pinned Locked Moved IT & Infrastructure
help
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lucky the code machine
    wrote on last edited by
    #1

    Hi all, pleeease help me!! I need to shave some time off of the compiler generated interrupt code. In the code below (#int_gobal with compiler generated interrupt code within it) this shoul compile then work the same as it previously did but the compiler stops on '03.5', this is the status register bit 5 so i tryed 'BTFSC STATUS,5' but that didnt work either. Im very confused, please help me. #int_global isr() { // Will be programmed at location 4 #asm BTFSC 03.5 GOTO 00A MOVWF 25 SWAPF 03,W MOVWF 26 GOTO 00F ........ etc .... #endasm }:(( :(( :confused: An Expert is somone who has previously made ALL the Mistakes, I dream of this day. - Lucky

    R 1 Reply Last reply
    0
    • L Lucky the code machine

      Hi all, pleeease help me!! I need to shave some time off of the compiler generated interrupt code. In the code below (#int_gobal with compiler generated interrupt code within it) this shoul compile then work the same as it previously did but the compiler stops on '03.5', this is the status register bit 5 so i tryed 'BTFSC STATUS,5' but that didnt work either. Im very confused, please help me. #int_global isr() { // Will be programmed at location 4 #asm BTFSC 03.5 GOTO 00A MOVWF 25 SWAPF 03,W MOVWF 26 GOTO 00F ........ etc .... #endasm }:(( :(( :confused: An Expert is somone who has previously made ALL the Mistakes, I dream of this day. - Lucky

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      I asked you in the C++ forum to post the description of the BTFSC operand. I think you´re just not giving the good parameter for this operand, otherwise it would compile without problem. And pls do not cross post, that will only make people go away from you. ~RaGE();

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups