Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Flags System Flags Register

Models: S3C9228/P9228 8-Bit CMOS Microcontroller

1 462
Download 462 pages 42.12 Kb
Page 280
Image 280

CONTROL REGISTERSS3C9228/P9228

FLAGS — System Flags Register

D5H

Bit Identifier

RESET Value

Read/Write

.7

.6

.5

.4

.7

.6

.5

.4

.3

.2

.1

.0

 

 

 

 

 

 

 

 

x

x

x

x

R/W

R/W

R/W

R/W

Carry Flag (C)

0 Operation does not generate a carry or borrow condition

Zero Flag (Z)

0Operation result is a non-zero value

1Operation result is zero

Sign Flag (S)

0Operation generates a positive number (MSB = "0")

1Operation generates a negative number (MSB = "1")

Overflow Flag (V)

0

Operation result is

+127

or

–128

 

 

 

 

 

1

Operation result is

+127

or

–128

 

 

 

 

 

 

.3-.0

Not used for S3C9228/P9228

4-8

Page 280
Image 280
Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual Flags System Flags Register