Jump to content

twentysixdb

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About twentysixdb

  • Rank
    Newbrie
  1. Hi Again: My original post has not been screened by the moderator; however, I have the answer. btfss _status, Z Is the ONLY permutation that will compile. The space after the ',' and a capital 'Z' are req'd. Cheers!
  2. Hi All: I am writing a simple assembly time delay routine and the only line that will NOT compile is the conditional. If have tried every permutation to try and get it to go, but no luck...compiler output follows code snipet. void ms_delay( void ) { asm { movlw 0xE6 ; 230 decimal _dly1: nop nop nop nop nop nop nop nop nop addlw 0xFF BTFSS STATUS,Z goto _dly1 return } } The compiler output is: Building... BoostC Optimizing C Compiler Version 6.96 (for PIC16 architecture) failure C:\PIC Projects\16F690\BoostC\Phone\Time Delay\T
×
×
  • Create New...