Electronic Components Datasheet Search
  English  ▼

X  

UPD17P136ACT Datasheet(PDF) 102 Page - NEC

Part # UPD17P136ACT
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT Datasheet(HTML) 102 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 98Page - NEC UPD17P136ACT Datasheet HTML 99Page - NEC UPD17P136ACT Datasheet HTML 100Page - NEC UPD17P136ACT Datasheet HTML 101Page - NEC UPD17P136ACT Datasheet HTML 102Page - NEC UPD17P136ACT Datasheet HTML 103Page - NEC UPD17P136ACT Datasheet HTML 104Page - NEC UPD17P136ACT Datasheet HTML 105Page - NEC UPD17P136ACT Datasheet HTML 106Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 102 / 292 page
background image
CHAPTER 11
ARITHMETIC AND LOGIC UNIT (ALU)
The ALU is used for performing arithmetic operations, logical operations, bit judgements, comparison judgements,
and rotations on 4-bit data.
11.1 ALU BLOCK CONFIGURATION
Figure 11-1 shows the configuration of the ALU block.
As shown in Figure 11-1, the ALU block consists of the main 4-bit data processor, temporary registers A and B
which are peripheral circuit of the ALU, the status flip-flop for controlling the status of the ALU, and the decimal
correction circuit for use during arithmetic operations in BCD.
As shown in Figure 11-1, the status flip-flop consists of the following flags: Zero flag FF, carry flag FF, compare
flag FF, and the BCD flag FF.
Each flag in the status flip-flop corresponds directly to a flag in the program status word (PSWORD: addresses
7EH, 7FH) in the system register. The flags in the program status word are the following: Zero flag (Z), carry flag
(CY), compare flag (CMP), and the BCD flag (BCD).
11.2 FUNCTIONS OF THE ALU BLOCK
Arithmetic operations, logical operations, bit judgements, comparison judgements, and rotations are performed
using the instructions in the ALU block. Table 11-1 lists each arithmetic/logical instruction, judgement instruction, and
rotation instruction.
By using the instructions listed in Table 11-1, 4-bit arithmetic/logical operations, judgements and rotations can be
performed in a single instruction. Arithmetic operations in decimal can also be performed in a single instruction.
11.2.1 Functions of the ALU
The arithmetic operations consist of addition and subtraction. Arithmetic operations can be performed on the
contents of the general register and data memory or on immediate data and the contents of data memory. Operations
in binary are performed on 4 bits of data and operations in decimal are performed on one place (BCD operation).
Logical operations include ANDing, ORing, and XORing. Their operands can be general register contents and data
memory contents, or data memory contents and immediate data.
Bit judgement is used to determine whether bits in 4-bit data in data memory are 0 or 1.
Comparison judgement is used to compare contents of data memory with immediate data. It is used to determine
whether one value is equal to or greater than the other, less than the other, or if both values are equal or not equal.
Rotation is used to shift 4-bit data in the general register one bit in the direction of its least significant bit (rotation
to the right).
83



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