Electronic Components Datasheet Search
  English  ▼

X  

UPD78C18 Datasheet(PDF) 17 Page - NEC

Part # UPD78C18
Description  8-BIT SINGLE-CHIP MICROCONTROLLER WITH A/D CONVERTER
PDF  110 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD78C18 Datasheet(HTML) 17 Page - NEC

Back Button UPD78C18 Datasheet HTML 13Page - NEC UPD78C18 Datasheet HTML 14Page - NEC UPD78C18 Datasheet HTML 15Page - NEC UPD78C18 Datasheet HTML 16Page - NEC UPD78C18 Datasheet HTML 17Page - NEC UPD78C18 Datasheet HTML 18Page - NEC UPD78C18 Datasheet HTML 19Page - NEC UPD78C18 Datasheet HTML 20Page - NEC UPD78C18 Datasheet HTML 21Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 110 page
background image
17
µPD78C17,78C18
(c)
Accumulator (A)
In the
µPD78C17 and 78C18, because an accumulator type architecture is used, 8-bit data processing
such as 8-bit arithmetic and logical operation instructions is mainly performed by this accumulator.
This accumulator can be replaced with the ALT register paired with the vector register (V) by means of
the EXA instruction.
(d)
Expansion accumulator (EA)
16-bit data processing such as 16-bit arithmetic and logical operation instructions is mainly performed
by EA.
This accumulator can be replaced with the ALT register EA’ by means of the EXA instruction.
(e)
Program counter (PC)
This is a 16-bit register which holds information on the next program address to be executed. This
register is normally incremented automatically according to the number of bytes of the instruction to be
fetched. When an instruction associated with a branch is executed, immediate data or register contents are
loaded. RESET input clears this counter to 0000H.
(f)
Stack pointer (SP)
This is a 16-bit register which holds the start address of the memory stack area (LIFO format).
SP contents are decremented when a CALL or PUSH instruction is executed or an interrupt is generated,
and incremented when a RETURN or POP instruction is executed.
2.2
ARITHMETIC LOGIC UNIT (ALU) ...16 BITS
The ALU executes data processing such as 8-bit arithmetic and logical operations, shift and rotation, data
processing such as 16-bit arithmetic and logical operations and shift operations, 8-bit multiplication and 16-bit
by 8-bit division.
2.3
PROGRAM STATUS WORD (PSW)
This word consists of 6 types of flags which are set/reset according to instruction execution results. Three of
these flags (Z, HC, and CY) can be tested by an instruction. PSW contents are automatically saved to the stack
when an interrupt (external, internal, or SOFTI instruction) is generated, and restored by the RETI instruction.
RESET input resets all bits to (0).
Fig. 2-2 PSW Configuration
(a)
Z (Zero)
When the operation result is zero, this flag is set (1). In all other cases, it is reset (0).
(b) SK (Skip)
When the skip condition is satisfied, this flag is set (1). If the condition is not satisfied, it is reset (0).
(c)
HC (Half Carry)
If an 8-bit operation generates a carry out of bit 3 or a borrow into bit 3, this flag is set (1). In all other
cases, it is reset (0).
(d) L1
When the “MVI A, byte” instruction is stacked, this flag is set (1). In all other cases, it is reset (0).
765
4
3
210
0
Z
SK
HC
L1
L0
0
CY



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