Jump to content

Search the Community

Showing results for tags 'Initialisation of registers'.



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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. This question may have been asked in the past, but being new to boost I will ask anyway. At the start of my programs ( programmed in BloC previously ) I reset the banks of registers I will be using. The following code clears Bank 0 & 1 OK. It sets most of Bank 2 OK, but doesn't use indirection. I know I could embed the asm to cure but is there a trick I am missing to get boost to do it for me? /*******************************/ /* Clear bottom bank of memory */ /*******************************/ fsr = (unsigned char)&Light_Timer; do { indf = 0; fsr++; } while ( fsr <= &Daily_Count ); /**************************/ /* Clear bank 2 of memory */ /**************************/ same as Bank 0 different registers /**************************/ /* Clear bank 3 of memory */ /**************************/ fsr = (unsigned char)&HeatCtr; do { indf = 0; fsr++; } while ( fsr <= &B2_Unused ); cheers MKL
×
×
  • Create New...