Motorola MPC823e Reference Manual page 1280

Microprocessor for mobile computing
Table of Contents

Advertisement

MPC823e Instruction Set—sc
sc
Assembler Syntax
BIT
0
1
2
FIELD
17
BIT
16
17
18
FIELD
Definition
Description
B-122
sc
3
4
5
6
7
00000
19
20
21
22
23
00000000000000
System Call
The sc instruction calls the operating system to perform a
service. When control is returned to the program that executed
the system call, the content of the registers depends on the
register conventions used by the program providing the system
service.
The effective address of the instruction following the sc
instruction is placed into SRR0. Bits 0, 5-9, and 16-31 of the
MSR are placed into the corresponding bits of SRR1, and bits 1-
4 and 10-15 of SRR1 are set to undefined values. An sc
exception is generated. The exception alters the MSR. The
exception causes the next instruction to be fetched from offset
0xC00 from the base real address indicated by the new setting
of MSR[IP].
Other registers altered:
Dependent on the system service
SRR0
SRR1
MSR
POWERPC ARCHITECTURE
LEVEL
UISA/OEA
MPC823e REFERENCE MANUAL
8
9
10
11
12
00000
24
25
26
27
28
SUPERVISOR
OPTIONAL
LEVEL
13
14
15
29
30
31
1
0
FORM
SC
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents