sc
System Call
PPC440x5 CPU Core User’s Manual
Preliminary
Page 404 of 589
instrset.fm.
September 12, 2002
sc
System Call
SRR1
←
MSR
SRR0
←
4 + address of sc instruction
PC
←
IVPR
0:15
|| IVOR8
16:27
||
4
0
MSR[WE, EE, PR, FP, FE0, FE1, DWE, DS, IS]
←
9
0
A System Call exception is generated, and a System Call interrupt occurs (see System Call Interrupt on
page 190 for more information on System Call interrupts). The contents of the MSR are copied into SRR1
and (4 + address of
sc instruction) is placed into SRR0.
The program counter (PC) is then loaded with the interrupt vector address. The interrupt vector address is
formed by concatenating the high halfword of the Interrupt Vector Prefix Register (IVPR), bits 16:27 of the
Interrupt Vector Offset Register 8 (IVOR8), and 0b0000.
The MSR[WE, EE, PR, FP, FE0, FE1, DWE, DS, IS] bits are set to 0.
Program execution continues at the new address in the PC.
Registers Altered
• SRR0
• SRR1
• MSR[WE, EE, PR, FP, FE0, FE1, DWE, DS, IS]
Invalid Instruction Forms
• Reserved fields
Programming Note
Execution of this instruction is context-synchronizing (see Context Synchronization on page 82).
sc
17
1
0
6
30 31
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......