12.07.2015 Views

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

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.

www.picaxe.co.uk<strong>Section</strong> 1 52GETTING STARTEDThe scratchpad pointer variable is broken down into individual bit variables:ptrl = ptr7 : ptr6 : ptr5 : ptr4 : ptr3 : ptr2 : ptr1 : ptr0ptrh = xxxx : xxxx : xxxx : xxxx : xxxx : xxxx : ptr9 : ptr8See the ‘Variables - Scratchpad’ section (manual part 2) for more informationabout@ptr, @ptrinc, @ptrdecThe system ‘flags’ byte is broken down into individual bit variables. If the specialhardware feature of the flag is not used in a program the individual flag may befreely used as a user defined bit flag.Name Special Special functionflag0 hint0flag hardware interrupt on pin INT0flag1 hint1flag hardware interrupt on pin INT1flag2 hint2flag hardware interrupt on pin INT2flag3 hintflag hardware interrupt on any pin 0,1,2flag4 compflag hardware interrpt on comparatorflag5 hserflag hserial background receive has occurredflag6 hi2cflag hi2c write has occurred (slave mode)flag7 toflag timer overflow flagrevolution(c) Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.ukVersion 6.9 07/2009All rights reserved.52

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

Saved successfully!

Ooh no, something went wrong!