Download BASIC COMMANDS

Transcript
BASIC COMMANDS
www.picaxe.com
Section 2
24
The scratchpad pointer variable is broken down into individual bit variables:
ptrl =
ptr7 : ptr6 : ptr5 : ptr4 : ptr3 : ptr2 : ptr1 : ptr0
ptrh =
xxxx : xxxx : xxxx : xxxx : xxxx : xxxx : ptr9 : ptr8
See the ‘Variables - Scratchpad’ section for more information about
@ptr, @ptrinc, @ptrdec
The system ‘flags’ byte is broken down into individual bit variables. If the special
hardware feature of the flag is not used in a program the individual flag may be
freely used as a user defined bit flag.
Name
flag0
flag1
flag2
flag3
flag4
flag5
flag6
flag7
revolution
Special
hint0flag
hint1flag
hint2flag
hintflag
compflag
hserflag
hi2cflag
toflag
(c) Revolution Education Ltd.
All rights reserved.
Special function
hardware interrupt on pin INT0
hardware interrupt on pin INT1
hardware interrupt on pin INT2
hardware interrupt on any pin 0,1,2
hardware interrupt on comparator
hserial background receive has occurred
hi2c write has occurred (slave mode)
timer overflow flag
Web: www.picaxe.com
Version 7.9.2 10/2015
24