CONTROL REGISTERS

S3F80JB

 

 

Bit number(s) that is/are appended to the

 

 

 

 

Register address

register name for bit addressing

 

 

 

 

Name of individual

Register address

 

(Set )Register address

 

Register

 

 

 

 

 

 

bit or bit function

(Hexadecimal)

 

 

 

 

 

 

mnemonic

Full register name

 

 

(Bank )

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FLAGS - System Flags Register

 

 

 

 

 

D5H

Set1

Bank0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 Bit (C)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0Operation dose not generate a carry or borrow condition

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

.6

 

Zero Flag Bit (Z)

 

 

 

 

 

 

 

 

 

0

 

Operation result is a non-zero value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Operation result is zero

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.5

 

Sign Flag Bit (S)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Operation generates positive number (MSB = "0")

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Operation generates negative number (MSB = "1")

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R = Read-only

 

Description

 

of the

RESET value notation:

 

 

 

 

 

 

 

 

 

 

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 71
Image 71
Samsung S3F80JB manual Register Description Format