SDKZSPF LSI, SDKZSPF Datasheet - Page 59

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
3.2.1 Preprocessing Conventions
3.2.2 Data Type Conventions
The preprocessing symbol __ZSP__ is defined by sdcc, zdxcc and zdcc.
The preprocessing symbol __ZSP_G2__ is also defined by zdcc.
The compiler’s representation of C data types is summarized in
3.4. The q15 data type can be printed by the fprintf and printf
functions. The %q format specifier prints a 16-bit value in fixed-point
notation. For example, the call:
prints:
Table 3.4
Compiler Conventions
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
C Data Type
char
unsigned char
int
short int
unsigned short int
q15
enum
pointer
long
unsigned long
accum_a
printf("%q\n",0x6000);
0.75000
Compiler’s Representation of C Data Types
Representation
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits
16 bits with sdcc/zdxcc
32 bits with zdcc
32 bits
32 bits
32 bits
Table
3-5