SW500011 Microchip Technology, SW500011 Datasheet - Page 85

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
C Language Features
3.7.3 Division and modulus with integral types
The sign of the result of division with integers when either operand is negative is implementation
specific.
compiled with PICC-32.
3.8 Psects
The compiler splits code and data objects into a number of standard program sections referred to
as psects. The HI-TECH assembler allows an arbitrary number of named psects to be included in
assembler code. The linker will group all data for a particular psect into a single segment.
A psect can be created in assembly code by using the PSECT assembler directive (see Section
4.3.10.3).
3.8.1 Compiler-generated Psects
The code generator places code and data into psects with standard names which are subsequent
positioned by the default linker options. These psects are linked into KSEG1 internal boot flash,
internal program flash and internal RAM, then loaded into the respective physical implementations.
Right shifts of unsigned integral values always clear the most significant bit of the result.
Left shifts (< < operator), signed or unsigned, always clear the least significant bit of the result.
In the case where the second operand is zero (division by zero), the result will always be zero.
If you are using PICC32 to invoke the linker, you don’t need to worry about the in-
formation documented here, except as background knowledge. If you want to run the
linker manually (this is not recommended), or write your own assembly language sub-
routines, you should read this section carefully.
3.5
shows the expected sign of the result of the division of operand 1 with operand 2 when
Operand 1
+
+
-
-
Table 3.5: Integral division
Operand 2
+
+
-
-
Quotient
+
+
-
-
Remainder
+
+
-
-
Psects
85

Related parts for SW500011