Jump to content

ysj

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ysj

  • Rank
    Newbrie
  1. When I compile my code, I receieve no error, but it changes my assembly code. Please look below to see where the code was changed. I mark it with ??????. ;;;;;;;;char RcTime(void) { _RcTimeend I can make it work by inputting the code "goto $-3", but this causes it to lose one cycle, and I don't want that to happen. I want to get a better accurate rctime value. I hope it will be fixed. PicAntIDE Version : 5.0 compiler: c2c- plus compiler version : 5.0 os system : Window 95
  2. When I compile my code, I receieve no error, but it changes my assembly code. Please look below to see where the code was changed. I mark it with ?????. ;;;;;;;;char RcTime(void) { _RcTimeend I can make it work by inputting the code "goto $-3", but this causes it to lose one cycle, and I don't want that to happen. I want to get a better accurate rctime value. I hope it will be fixed. PicAntIDE Version : 5.0 compiler: c2c- plus compiler version : 5.0 os system : Window 95
  3. I have Win95 operating system and v4.61 compiler. asm { btfsc _gpio, 3 goto $+6 btfss _gpio, 3 goto $-1 bsf _SwMode, SW_ON_OFF movf _SwMode, W return bcf _SwMode, SW_ON_OFF movf _SwMode, W return } After compiling the codes above, I received these errors: "Unexpected identifier 'btfsc' , Missing ';' after 'goto' , Unexpected identifier 'btfss', Missing ';' after 'goto', Unexpected identifier 'bsf',Unexpected identifier 'bcf'Unexpected identifier '_S
×
×
  • Create New...