Jump to content

Search the Community

Showing results for tags 'test_bit'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Found 1 result

  1. Update To Test_Bit

    Hello - When the compiler generates code for "test_bit(x,y)" it very nicely generates a 'btfss' instruction. However, when it generates code for "!test_bit(x,y)" it generates much more complex code because the ! is a logical operation not a bit-wise operation. It would be nice if the compiler could spot that "!test_bit(x,y)" is really a 'btfsc' instruction instead. Thanks!
×