Intel i960 Jx Developer's Manual page 8

Microprocessor
Table of Contents

Advertisement

6.2.58
SEL<cc> ................................................................................................................ 6-97
6.2.59
setbit ...................................................................................................................... 6-99
6.2.60
SHIFT .................................................................................................................. 6-100
6.2.61
spanbit ................................................................................................................. 6-103
6.2.62
STORE ................................................................................................................ 6-104
6.2.63
subc ..................................................................................................................... 6-108
6.2.64
SUB<cc> ............................................................................................................. 6-109
6.2.65
subi, subo ............................................................................................................ 6-112
6.2.66
syncf .................................................................................................................... 6-113
6.2.67
sysctl .................................................................................................................... 6-114
6.2.68
TEST<cc> ............................................................................................................ 6-118
6.2.69
xnor, xor ............................................................................................................... 6-120
CHAPTER 7
PROCEDURE CALLS
7.1
7.1.1
Local Registers and the Procedure Stack ............................................................... 7-2
7.1.2
Local Register and Stack Management ................................................................... 7-4
7.1.2.1
Frame Pointer ................................................................................................... 7-4
7.1.2.2
Stack Pointer .................................................................................................... 7-4
7.1.2.3
Considerations When Pushing Data onto the Stack ........................................ 7-4
7.1.2.4
Considerations When Popping Data off the Stack ........................................... 7-5
7.1.2.5
Previous Frame Pointer .................................................................................... 7-5
7.1.2.6
Return Type Field ............................................................................................. 7-5
7.1.2.7
Return Instruction Pointer ................................................................................. 7-5
7.1.3
Call and Return Action ............................................................................................. 7-5
7.1.3.1
Call Operation .................................................................................................. 7-6
7.1.3.2
Return Operation .............................................................................................. 7-7
7.1.4
Caching Local Register Sets ................................................................................... 7-7
7.1.4.1
7.1.5
Mapping Local Registers to the Procedure Stack .................................................. 7-11
7.2
MODIFYING THE PFP REGISTER............................................................................. 7-11
7.3
PARAMETER PASSING ............................................................................................. 7-12
7.4
LOCAL CALLS ............................................................................................................ 7-14
7.5
SYSTEM CALLS ......................................................................................................... 7-15
7.5.1
System Procedure Table ....................................................................................... 7-15
7.5.1.1
Procedure Entries ........................................................................................... 7-17
7.5.1.2
Supervisor Stack Pointer ................................................................................ 7-17
7.5.1.3
Trace Control Bit ............................................................................................ 7-17
7.5.2
System Call to a Local Procedure ......................................................................... 7-18
7.5.3
System Call to a Supervisor Procedure ................................................................. 7-18
7.6
USER AND SUPERVISOR STACKS .......................................................................... 7-19
7.7
INTERRUPT AND FAULT CALLS............................................................................... 7-19
7.8
RETURNS ................................................................................................................... 7-20
viii

Advertisement

Table of Contents
loading

Table of Contents