SW500010 Microchip Technology, SW500010 Datasheet - Page 184

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Hexmate
A typical example of the use of the checksum option is:
This will calculate a checksum over the range 0-1FFFh and program the checksum result at address
2FFEh, checksum value will apply an initial offset of 2100h. The result will be two bytes wide.
5.15.1.6 -FILL
The -FILL option is used for filling unused memory locations with a known value. The usage of this
option is:
where:
For example:
184
-CK=0-1FFF@2FFE+2100w2
-FILL=Code@Start-End[,data]
Code is the opcode that will be programmed to unused locations in memory. Multi-byte codes
should be entered in little endian order.
Start and End specify the address range that this fill will apply to.
-FILL=3412@0-1FFF,data
Selector
-4
-3
-2
-1
1
2
3
4
7
8
Table 5.10: Hexmate Checksum Algorithm Selection
Algorithm description
Subtraction of 32 bit values from initial value
Subtraction of 24 bit values from initial value
Subtraction of 16 bit values from initial value
Subtraction of 8 bit values from initial value
Addition of 8 bit values from initial value
Addition of 16 bit values from initial value
Addition of 24 bit values from initial value
Addition of 32 bit values from initial value
Fletcher’s checksum (8 bit)
Fletcher’s checksum (16 bit)
Linker and Utilities

Related parts for SW500010