Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

MPD78CP18KB Arkusz danych(PDF) 60 Page - NEC

Numer części MPD78CP18KB
Szczegółowy opis  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  NEC [NEC]
Strona internetowa  http://www.nec.com/
Logo NEC - NEC

MPD78CP18KB Arkusz danych(HTML) 60 Page - NEC

Back Button MPD78CP18KB Datasheet HTML 56Page - NEC MPD78CP18KB Datasheet HTML 57Page - NEC MPD78CP18KB Datasheet HTML 58Page - NEC MPD78CP18KB Datasheet HTML 59Page - NEC MPD78CP18KB Datasheet HTML 60Page - NEC MPD78CP18KB Datasheet HTML 61Page - NEC MPD78CP18KB Datasheet HTML 62Page - NEC MPD78CP18KB Datasheet HTML 63Page - NEC MPD78CP18KB Datasheet HTML 64Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 60 / 373 page
background image
CHAPTER 3
INTERNAL BLOCK FUNCTIOS
42
3.3 Arithmetic Logical Unit (ALU)
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.
3.4 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).
Figure 3-2. PSW Configuration
76
54
32
10
0
Z
SK
HC
L1
L0
0
CY
(1) Z (Zero)
When the operation result is zero, this flag is set (1). In all other cases, it is reset (0).
(2) SK (Skip)
When the skip condition is satisfied, this flag is set (1). If the condition is not satisfied, it is reset (0).
(3) HC (Half carry)
If an 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).
(4) L1
When MVI A, byte instructions are stacked, this flag is set (1). In all other cases, it is reset (0).
(5) L0
When MVI L, byte ; LXI H, word instructions are stacked, this flag is set (1). In all other cases, it is reset (0).
(6) CY (Carry)
When an operation generates a carry out of or a borrow into bit 7 or 15, this flag is set (1). In all other cases,
it is reset (0).
When one of 35 types of ALU instructions, a rotation instruction or a carry manipulation instruction is executed,
various flags are affected as shown in Table 3-2.



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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