
R DC
RISC DSP Controller
R8820LV
RDC Semiconductor Co.
Rev:1.0
Subject to change without notice
19
CS (Code Segment)
: The CS register points to the current code segment, which contains instruction to be fetched. The
default location memory space for all instruction is 64K. The initial value of CS register is 0FFFFh.
DS (Data Segment)
: The DS register points to the current data segment, which generally contains program variables. The
DS register initialize to 0000H.
SS (Stack Segment )
: The SS register points to the current stack segment, which is for all stack operations, such as pushes
and pops. The stack segment is used for temporary space. The SS register initialize to 0000H.
ES (Extra Segment)
: The ES register points to the current extra segment which is typically for data storage, such as large
string operations and large data structures. The DS register initialize to 0000H.
7.3 Instruction Pointer and Status Flags Register
IP (Instruction Pointer)
: The IP is a 16-bit register and it contains the offset of the next instruction to be fetched. Software
can not to direct access the IP register and this register is updated by the Bus Interface Unit. It can change, be saved or be
restored as a result of program execution. The IP register initialize to 0000H and the CS:IP starting execution address is at
0FFFF0H.
These flags reflect the status after the Execution Unit is executed.
Bit 15-12
: Reserved
Bit 11: OF
, Overflow Flag. An arithmetic overflow has occurred, this flag will be set.
Bit 10 : DF
, Direction Flag. If this flag is set, the string instructions are increment address process. If DF is cleared, the string
instructions are decrement address process. Refer the STD and CLD instructions for how to set and clear the DF flag.
CS
DS
SS
ES
0
7
8
15
Code Segment
Data Segment
Stack Segment
Extra Segment
SEGMENT REGISTERS
Processor Status Flags Registers
FLAGS
Reset Value : 0000h
2
3
0
1
4
5
6
7
8
9
10
11
12
13
14
15
Res
PF
Res
CF
AF
Res
ZF
SF
TF
IF
DF
OF
Reserved