Samsung C8278X ユーザーズマニュアル

ページ / 324
CONTROL REGISTERS 
   
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X 
4-12  
 
FLAGS
 — System Flags Register 
D5H 
Set 1 
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 R/W 
Addressing Mode 
Register addressing mode only 
 
.7 
Carry Flag (C) 
 
Operation does not generate a carry or borrow condition 
 
Operation generates a carry-out or borrow into high-order bit 7 
 
.6 
Zero Flag (Z) 
 
Operation result is a non-zero value 
 
Operation result is zero 
 
.5 
Sign Flag (S) 
 
Operation generates a positive number (MSB = "0") 
 
Operation generates a negative number (MSB = "1") 
 
.4 
Overflow Flag (V) 
 0 
Operation result is  
≤  +127  or  ≥  –128 
 
Operation result is  > +127  or  <  –128 
 
.3 
Decimal Adjust Flag (D) 
 
Add operation completed 
 
Subtraction operation completed 
 
.2 
Half-Carry Flag (H) 
 
No carry-out of bit 3 or no borrow into bit 3 by addition or subtraction 
 
Addition generated carry-out of bit 3 or subtraction generated borrow into bit 3 
 
.1 
Fast Interrupt Status Flag (FIS) 
 
Interrupt return (IRET) in progress (when read) 
 
Fast interrupt service routine in progress (when read) 
 
.0 
Bank Address Selection Flag (BA) 
 
Bank 0 is selected  
 
Bank 1 is selected