SDKZSPF LSI, SDKZSPF Datasheet - Page 62

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
Table 3.5
3-8
%amode
%fmode
Register
Mode
Register
Effect of Mode Bits on Compiler-Generated Code
Mode
q15
mre
sat
sre
cbX
Bit
rez
ld
st
3
5
4
6
Stack memory below the stack pointer, a7, may be used by interrupts.
This includes the memory location pointed to by the stack pointer. Thus,
the stack pointer must never point to memory that needs to be
preserved. The mode registers are never modified by zdcc except
through inline assembly. The circular buffer registers are never accessed
or modified except through predefined macros in the header file cbuf.h.
The file cbuf.h also has predefined macros to set and clear the cb0-
cb3 bits in %amode.
behavior of compiler-generated code.
C Cross Compiler
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
Parameter registers: r2-r7, a0, a1, a6
Callee preserved registers: r8-r15, g6, g7, a2-a5, a7, n4-n7, %loop2,
%loop3
Scratch registers: r0, r1, g0-g5, n0-n3, %loop0, %loop1, %cb0_beg-
%cb3_beg, %cb0_end-%cb3_end
Clobbered registers: %hwflag, %shwflag, %vitr
Return registers: a0 for pointer values, r4 for 16-bit return values,
and r5r4 for 32-bit non-pointer values.
Affects ANSI C
zdxcc
sdcc
yes
n/a
Code
yes
yes
yes
no
no
no
1
zdcc
yes
no
Table 3.5
Required Entry
zdxcc
sdcc
n/a
0
Value
0
0
x
x
x
x
shows the mode bits that may affect the
zdcc
0
x
On Return From
Required Value
zdxcc
sdcc
n/a
Call
0
0
x
x
x
x
x
2
zdcc
0
May be Modified
Within Function
zdxcc
sdcc
n/a
yes
yes
yes
yes
yes
no
no
zdcc
yes