As always, many new parts. New libraries have been created for
the 14-bit enhanced core.
The MPLAB integration has been reworked in response to Microchip
dropping COD file support. COFF files are now generated for all
cores, without requiring use of MPLINK. A batch-execution method
has been added to alleviate the requirement of PATH variable
modifications. A build-options checkbox for PBPL has been added.
New commands/operators are:
Code:
ARRAYREAD
ARRAYWRITE
'These commands allow you to treat an array variable with the
'ASCII format modifiers like DEC, HEX, BIN, etc. You can write
'strings into an array (format), or read values from a string in
'an array (parse). Examples:
string1 VAR BYTE[24]
string2 VAR BYTE[24]
ARRAYWRITE string1, [REP 0\24] ' fill string with zeros
ARRAYWRITE string1, ["ADC Value: ", DEC value] ' store display string
ARRAYREAD string1, 24, not_found, [WAIT(":"), DEC value] ' parse a value
ARRAYWRITE string2, [STR string1\24] ' copy from one array to another
DO 'new syntax for loops, tests are WHILE/UNTIL, at DO or LOOP
LOOP
ELSEIF 'allows multiple sections of IF..THEN with conditionals
EXIT 'jump to end of DO, FOR, REPEAT, etc.
ON GOTO 'alternate syntax for BRANCHL
ON GOSUB 'BRANCHL, but calls with GOSUB and allows RETURN
ATN 'arctangent
HYP 'hypotenuse
Bookmarks