11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PICBASIC</strong> <strong>PLUS</strong> CompilerTable of Contents.1 - Introduction............................................................................................................................ 51.1. PIC Devices...................................................................................................................... 51.2. <strong>PICBASIC</strong> <strong>PLUS</strong> Discussion........................................................................................ 61.4. Contact Details................................................................................................................. 62 - Starting Out............................................................................................................................ 72.1. Installing the software ..................................................................................................... 72.3. Ready to start ?................................................................................................................ 82.4. Customising the editor..................................................................................................103 - Program Rules ....................................................................................................................113.1. Device specific issues...................................................................................................113.2. Identifiers.........................................................................................................................123.3. Line Labels .....................................................................................................................123.4. Variables .........................................................................................................................123.5. Aliases .............................................................................................................................133.6. Constants ........................................................................................................................133.7. Symbols...........................................................................................................................133.8. Numeric Representations.............................................................................................143.9. String Constants ............................................................................................................143.10. Ports and Other Registers .........................................................................................143.11. General Format............................................................................................................144 - Math operators....................................................................................................................154.1. Addition ‘+’.....................................................................................................................154.2. Subtraction ‘-‘................................................................................................................154.3. Multiply ‘*’.......................................................................................................................164.4. Multiply HIGH ‘**’..........................................................................................................164.5. Multiply MIDDLE ‘*/’.....................................................................................................164.6. Divide ‘/’..........................................................................................................................174.7. Modulus ‘//’....................................................................................................................174.8. Bitwise operators.............................................................................................................184.9. And ‘&’ ............................................................................................................................184.10. Or ‘|’ ..............................................................................................................................184.11. Xor ‘^’............................................................................................................................195 - <strong>PICBASIC</strong> <strong>PLUS</strong> Commands and Directives .............................................................205.1. ADIN ............................................................................................................................225.2. ASM – ENDASM and @ ..........................................................................................245.3. BRANCH ....................................................................................................................255.4. BRANCHL..................................................................................................................265.5. BUSIN .........................................................................................................................275.6. BUSOUT.....................................................................................................................305.7. CALL ...........................................................................................................................332Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!