Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

UPD784938 Datasheet(PDF) 83 Page - NEC

Part # UPD784938
Description  16-Bit Single-Chip Microcontrollers
Download  733 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD784938 Datasheet(HTML) 83 Page - NEC

Back Button UPD784938 Datasheet HTML 79Page - NEC UPD784938 Datasheet HTML 80Page - NEC UPD784938 Datasheet HTML 81Page - NEC UPD784938 Datasheet HTML 82Page - NEC UPD784938 Datasheet HTML 83Page - NEC UPD784938 Datasheet HTML 84Page - NEC UPD784938 Datasheet HTML 85Page - NEC UPD784938 Datasheet HTML 86Page - NEC UPD784938 Datasheet HTML 87Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 733 page
background image
83
CHAPTER 3 CPU ARCHITECTURE
Preliminary User’s Manual U13987EJ1V0UM00
3.7 Control Registers
Control registers consist of the program counter (PC), program status word (PSW), and stack pointer (SP).
3.7.1 Program counter (PC)
This is a 20-bit binary counter that holds address information on the next program to be executed (see Figure 3-7).
Normally, the PC is incremented automatically by the number of bytes in the fetched instruction. When an instruction
associated with a branch is executed, the immediate data or register contents are set in the PC.
Upon RESET input, the 16-bit data in address 0 and 1 is set in the low-order 16 bits, and 0000 in the high-order 4 bits of the
PC.
Figure 3-7. Program Counter (PC) Format
19
PC
0
3.7.2 Program status word (PSW)
The program status word (PSW) is a 16-bit register comprising various flags that are set or reset according to the result of
instruction execution.
Read accesses and write accesses are performed in high-order 8-bit (PSWH) and low-order 8-bit (PSWL) units. Individual
flags can be manipulated by bit-manipulation instructions.
The contents of the PSW are automatically saved to the stack when a vectored interrupt request is acknowledged or a BRK
instruction is executed, and automatically restored when an RETI or RETB instruction is executed. When context switching is
used, the contents are automatically saved in RP3, and automatically restored when an RETCS or RETCSB instruction is
executed.
RESET input resets (to 0) all bits.
“0” must always be written to the bits written as “0” in Figure 3-8. The contents of bits written as “-” are undefined when read.
Figure 3-8. Program Status Word (PSW) Format
7
UF
PSWH
Symbol
6
RBS2
5
RBS1
4
RBS0
3
2
1
0
7
S
PSWL
6
Z
5
RSS
4
AC
3
IE
2
P/V
1
0
0
CY
The flags are described below.
(1) Carry flag (CY)
The carry flag records a carry or borrow resulting from an operation.
This flag also records the shifted-out value when a shift/rotate instruction is executed, and functions as a bit accumulator
when a bit-manipulation instruction is executed.
The status of the CY flag can be tested with a conditional branch instruction.


Similar Part No. - UPD784938

ManufacturerPart #DatasheetDescription
logo
NEC
UPD784938A NEC-UPD784938A Datasheet
371Kb / 52P
   16-BIT SINGLE-CHIP MICROCONTROLLER
logo
Renesas Technology Corp
UPD784938AGF-XXX-3BA RENESAS-UPD784938AGF-XXX-3BA Datasheet
692Kb / 104P
   MOS INTEGRATED CIRCUITS
2001
More results

Similar Description - UPD784938

ManufacturerPart #DatasheetDescription
logo
Renesas Technology Corp
UPD78F1502AGK-GAK-AX RENESAS-UPD78F1502AGK-GAK-AX Datasheet
6Mb / 1031P
   16-Bit Single-Chip Microcontrollers
logo
NEC
UPD784214A NEC-UPD784214A Datasheet
561Kb / 50P
   16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784915A NEC-UPD784915A Datasheet
446Kb / 86P
   16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784915B NEC-UPD784915B Datasheet
384Kb / 86P
   16-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784224 NEC-UPD784224 Datasheet
687Kb / 92P
   16/8-BIT SINGLE-CHIP MICROCONTROLLERS
logo
Siemens Semiconductor G...
C167CR-16RM SIEMENS-C167CR-16RM Datasheet
1Mb / 67P
   16-Bit CMOS Single-Chip Microcontrollers
logo
NEC
UPD78363A NEC-UPD78363A Datasheet
502Kb / 96P
   16/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784035Y NEC-UPD784035Y Datasheet
503Kb / 94P
   16-/8-BIT SINGLE-CHIP MICROCONTROLLERS
UPD784218 NEC-UPD784218 Datasheet
617Kb / 92P
   16-/8-BIT SINGLE-CHIP MICROCONTROLLERS
logo
Siemens Semiconductor G...
C161V SIEMENS-C161V_96 Datasheet
3Mb / 260P
   16-Bit CMOS Single-Chip Microcontrollers
More results


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




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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