Electronic Components Datasheet Search
  English  ▼

X  

UPD17016GF Datasheet(PDF) 49 Page - NEC

Part # UPD17016GF
Description  4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
PDF  324 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17016GF Datasheet(HTML) 49 Page - NEC

Back Button UPD17016GF Datasheet HTML 45Page - NEC UPD17016GF Datasheet HTML 46Page - NEC UPD17016GF Datasheet HTML 47Page - NEC UPD17016GF Datasheet HTML 48Page - NEC UPD17016GF Datasheet HTML 49Page - NEC UPD17016GF Datasheet HTML 50Page - NEC UPD17016GF Datasheet HTML 51Page - NEC UPD17016GF Datasheet HTML 52Page - NEC UPD17016GF Datasheet HTML 53Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 324 page
background image
µPD17016, 17017
49
5.8.2 Function of program status word
The program status word is a register that sets the condition of an operation or transfer instruction of the ALU
(Arithmetic Logic Unit) or indicates the result of an operation executed.
Table 5-2 outlines the function of each flag of the program status word.
For details, refer to 7. ALU (Arithmetic Logic Unit) BLOCK.
Table 5-2. Functional Outline of Program Status Word
5.8.3 Notes on using program status word
If an arithmetic operation (addition or subtraction) instruction is executed to the program status word, the
“result” of the arithmetic operation is stored to the program status word.
For example, even if an operation that causes a carry to occur is executed, if the result of the operation is
0000B, 0000B is stored to PSW.
5.9 Notes on Using System Register
The data of the system register fixed to “0” is not affected even if a write instruction is executed to it.
This data is always “0” when it is read.
Program status word
(PSWORD)
RPL
PSW
b3
b2
b1
b0
B
C
D
b3
C
M
P
b2
C
Y
b1
Z
b0
I
X
E
Flag Name
Index enable flag
(IXE)
Zero flag
(Z)
Carry flag
(CY)
Compare flag
(CMP)
BCD flag
(BCD)
Function
(RP)
This flag modifies address of data memory when data memory
manipulation instruction is executed.
0 : Does not modify
1 : Modifies
This flag indicates that result of arithmetic operation
executed is 0.
Note that status of 0 or 1 differs depending on content of compare flag.
This flag indicates occurrence of carry or borrow as result of execution
of addition or subtraction instruction.
It is reset to “0” if carry/borrow does not occur; it is set to “1” if
carry/borrow occurs.
This flag is also used as sift bit of “RORC r” instruction.
This flag is used to not store result of arithmetic operation to data
memory or general register.
0 : Result stored
1 : Result not stored
This flag is used to execute arithmetic operation in decimal.
0 : Executes binary operation
1 : Executes decimal operation



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com