Electronic Components Datasheet Search
  English  ▼

X  

UPD17010 Datasheet(PDF) 49 Page - NEC

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

UPD17010 Datasheet(HTML) 49 Page - NEC

Back Button UPD17010 Datasheet HTML 45Page - NEC UPD17010 Datasheet HTML 46Page - NEC UPD17010 Datasheet HTML 47Page - NEC UPD17010 Datasheet HTML 48Page - NEC UPD17010 Datasheet HTML 49Page - NEC UPD17010 Datasheet HTML 50Page - NEC UPD17010 Datasheet HTML 51Page - NEC UPD17010 Datasheet HTML 52Page - NEC UPD17010 Datasheet HTML 53Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 424 page
background image
49
µPD17010
5.8.2 Function of program status word
The program status word is a register that sets the condition for the operation of the ALU (Arithmetic Logic Unit)
or transfer instruction or indicates the result of an operation.
Table 5-2 outlines the function of each flag of the program status word.
For details of the operation, refer to 7. ALU (ARITHMETIC LOGIC UNIT) BLOCK.
Table 5-2. Functional Outline on Each Flag of Program Status Word
b3
b2
b1
b0
RPL
B
C
D
b3
b2
b1
b0
PSW
I
X
E
C
M
P
C
Y
Z
(RP)
Program Status
Word (PSWORD)
Flag Name
Index enable flag
(IXE)
Modifies address of data memory when data memory
manipulation instruction is executed
0: Does not modify
1: Modifies
Zero flag
(Z)
Indicates that resultof arithmeticoperation is zero.
Note that status of 0 and 1 of this flag differs depending on
contents of compare flag.
Carry flag
(CY)
Indicates occurrence of carry or borrow as result of exe-
cuting addition or subtraction instruction.
Reset to 0 if carry or borrow does not occur.
Set to 1 if carry or borrow occurs.
This flag is also used as shift bit of "RORC r" instruction.
Compare flag
(CMP)
Function
This flag specifies whether or not resultof arithmetic
operation isstored to data memory or general regizster.
0: Stores result
1: Does not store result
BCD flag
(BCD)
This flag specifies whether arithmetic operation is performed
in binary or decimal
1: Binary operation
0: Decimal operation
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, when an operation that generates a carry is executed and if the result of the operation is 0000B, 0000B
is stored to PSW.
5.9 Notes on Using System Register
Data of the system register that is fixed to “0” is not affected in any way even if a write instruction is executed to
it.
If this data is read, “0” is always read.



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