| Moteur de recherche de fiches techniques de composants électroniques |
|
MPD78CP14KB Fiches technique(PDF) 60 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB Fiches technique(HTML) 60 Page - NEC |
|
60 / 373 page ![]() 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. |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |