CONTROL REGISTERS

S3C9228/P9228

 

 

Bit number(s) that is/are appended to the register name for bit addressing

Register

 

Name of individual

Register address

 

 

bit or bit function

 

 

mnemonic

Full Register name

 

 

(hexadecimal)

 

FLAGS - System Flags Register

 

 

 

D5H

 

 

Bit Identifier

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

RESET Value

x

x

x

x

x

x

0

0

Read/Write

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

.7

Carry Flag (C)

 

 

 

 

 

 

0Operation dose not generate a carry or borrow condition

1Operation generates carry-out or borrow into high-order bit7

.6

Zero Flag

0Operation result is a non-zero value

1Operation result is zero

.5

 

Sign Flag

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Operation generates positive number (MSB = "0")

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Operation generates negative number (MSB = "1")

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R = Read-only

 

 

 

RESET value notation:

 

 

 

 

 

Description of the

 

 

 

 

W = Write-only

 

effect of specific

'-' = Not used

 

 

 

 

R/W = Read/write

bit settings

'x' = Undetermind value

 

' - ' = Not used

 

 

'0' = Logic zero

 

 

 

Addressing mode or

 

 

 

'1' = Logic one

Bit number:

 

 

 

 

modes you can use to

 

 

 

 

MSB = Bit 7

modify register values

 

 

 

 

LSB = Bit 0

Figure 4-1. Register Description Format

4-4

Page 276
Image 276
Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Register Description Format