AE2406 Lab Manual
AE2406 Lab Manual
AE2406 Lab Manual
VII SEM
AERONAUTICAL ENGINEERING
PREPARED BYMr.M.MAGESH
1. INTRODUCTION TO 8085
INTEL 8085 is one of the most popular 8-bit microprocessor capable of
addressing 64 KB of memory and its architecture is simple. The device has 40 pins,
requires +5 V power supply and can operate with 3MHz single phase clock.
ALU (Arithmetic Logic Unit):
The 8085A has a simple 8-bit ALU and it works in coordination with the
accumulator, temporary registers, 5 flags and arithmetic and logic circuits. ALU has
the capability of performing several mathematical and logical operations. The
temporary registers are used to hold the data during an arithmetic and logic operation.
The result is stored in the accumulator and the flags are set or reset according to the
result of the operation. The flags are affected by the arithmetic and logic operation.
They are as follows:
Sign flag
After the execution of the arithmetic - logic operation if the bit D7
of the result is 1, the sign flag is set. This flag is used with signed
numbers. If it is 1, it is a negative number and if it is 0, it is a positive
number.
Zero flag
The zero flag is set if the ALU operation results in zero. This flag
is modified by the result in the accumulator as well as in other registers.
Parity flag
After arithmetic logic operation, if the result has an even number
of 1s the flag is set. If it has odd number of 1s it is reset.
Carry flag
If an arithmetic operation results in a carry, the carry flag is set.
The carry flag also serves as a borrow flag for subtraction.
the
control
signals
necessary for
communication
between
the
Stack pointer
It is a 16-bit register which points to the memory location in R/W memory, called
the Stack.
Communication lines
8085 microprocessor performs data transfer operations using three communication
lines called buses. They are address bus, data bus and control bus.
Data bus it is a group of 8 lines used for data flow and it is bidirectional.
The data ranges from 00 FF.
RESULT:
Thus the 8 bit numbers stored at 4500 &4501 are added and the result stored at 4502 &
4503.
FLOW CHART:
START
[C]
00H
[HL]
4500H
[A]
[M]
[HL][HL]+1
[A][A]+[M]
NO
Is there a
Carry ?YES
[C][C]+1
[HL][HL]+1
[M]
[A]
[HL][HL]+1
[M]
[C]
STOP
PROGRAM:
ADDRESS OPCODE LABEL
4100
START
4101
4102
4103
4104
4105
MNEMONICS OPERAND
MVI
C, 00
COMMENT
Clear C reg.
LXI
H, 4500
Initialize HL reg. to
4500
MOV
A, M
4106
INX
4107
ADD
4108
4109
410A
JNC
L1
410B
410C
INR
INX
C
H
410D
MOV
M, A
410E
INX
410F
4110
MOV
HLT
M, C
L1
Increment C reg.
Increment HL reg. to
point next memory
Location.
Transfer the result from
acc. to memory.
Increment HL reg. to
point next memory
Location.
Move carry to memory
Stop the program
OBSERVATION:
INPUT
4500
4501
OUTPUT
4502
4503
FLOW CHART:
START
[C]
00H
[HL] 4500H
[A]
[M]
[HL][HL]+1
[A][A]-[M]
Is there a
NO
Borrow ?
YES
Complement [A]
Add 01H to [A]
[C][C]+1
[HL][HL]+1
[M]
[A]
[HL][HL]+1
[M]
[C]
STOP
10
PROGRAM:
ADDRESS OPCODE LABEL
4100
START
4102
4102
4103
4104
4105
MNEMONICS OPERAND
MVI
C, 00
COMMENT
Clear C reg.
LXI
H, 4500
Initialize HL reg. to
4500
MOV
A, M
4106
INX
4107
SUB
4108
4109
410A
JNC
L1
410B
410C
INR
CMA
410D
410E
410F
ADI
01H
INX
4110
MOV
M, A
4111
INX
4112
4113
MOV
HLT
M, C
L1
Increment C reg.
Complement the Acc.
content
Add 01H to content of
acc.
Increment HL reg. to
point next mem.
Location.
Transfer the result from
acc. to memory.
Increment HL reg. to
point next mem.
Location.
Move carry to mem.
Stop the program
OBSERVATION:
INPUT
4500
4501
OUTPUT
4502
4503
11
RESULT:
Thus the 8-bit multiplication was done in 8085p using repeated addition method.
12
FLOW CHART:
START
[HL] 4500
B M
[HL] [HL]+1
A 00
C 00
[A] [A] +[M]
Is there
any
carry
NO
YES
C C+1
B B-1
NO
IS
B=0
YES
A
13
A
[HL][HL]+1
[M]
[A]
[HL][HL]+1
[M]
[C]
STOP
14
PROGRAM:
ADDRESS OPCODE LABEL
4100
START
4101
4102
4103
MNEMONICS
LXI
OPERAND
H, 4500
COMMENT
Initialize HL reg. to
4500
MOV
B, M
4104
INX
4105
4106
4107
4108
MVI
A, 00H
MVI
C, 00H
ADD
410A
JNC
NEXT
410B
410C
410D
410E
410F
4110
4111
4112
Add multiplicand
multiplier times.
Jump to NEXT if there
is no carry
INR
DCR
JNZ
C
B
L1
Increment C reg
Decrement B reg
Jump to L1 if B is not
zero.
INX
4113
MOV
M, A
4114
INX
4115
MOV
M, C
4116
HLT
Increment HL reg. to
point next mem.
Location.
Transfer the result from
acc. to memory.
Increment HL reg. to
point next mem.
Location.
Transfer the result from
C reg. to memory.
Stop the program
4109
L1
NEXT
OBSERVATION:
INPUT
4500
4501
OUTPUT
4502
4503
15
16
FLOWCHART:
START
B 00
[HL] 4500
A M
[HL] [HL]+1
M A-M
[B] [B] +1
IS A<0
NO
YES
A A+ M
B B-1
[HL][HL]+1
[M]
[A]
[HL][HL]+1
[M]
[B]
STOP
17
PROGRAM:
ADDRESS
OPCODE LABEL
MNEMO
NICS
MVI
OPERA
ND
B,00
LXI
H,4500
MOV
INX
A,M
H
SUB
INR
JNC
M
B
LOOP
ADD
DCR
INX
M
B
H
410F
MOV
M,A
4110
INX
4111
MOV
M,B
4112
HLT
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
410A
410B
410C
410D
410E
LOOP
COMMENTS
Clear B reg for quotient
Initialize HL reg. to
4500H
Transfer dividend to acc.
Increment HL reg. to point
next mem. Location.
Subtract divisor from dividend
Increment B reg
Jump to LOOP if result does
not yield borrow
Add divisor to acc.
Decrement B reg
Increment HL reg. to point
next mem. Location.
Transfer the remainder from
acc. to memory.
Increment HL reg. to point
next mem. Location.
Transfer the quotient from B
reg. to memory.
Stop the program
OBSERVATION:
S.NO
1
2
ADDRESS
4500
4501
4500
4501
INPUT
DATA
ADDRESS
4502
4503
4502
4503
OUTPUT
DATA
18
RESULT:
Thus an ALP program for 16-bit addition was written and executed in 8085p
using special instructions.
19
FLOW CHART:
START
[L]
[H]
[4050 H]
[4051 H]
[DE]
[HL]
[L]
[H]
[4052H]
[4053H]
[A]00H
[HL][HL]+[DE]
Is there a
Carry?
NO
YES
[A][A]+1
[4054][ L]
[4055] [H]
[4056]
[A]
STOP
20
PROGRAM:
ADDRESS OPCODE LABEL
4000
START
4001
4002
4003
4004
4005
4006
4007
4008
4009
MNEMONICS OPERAND
LHLD
4050H
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
LOOP
COMMENT
Load the augend in DE
pair through HL pair.
XCHG
LHLD
4052H
MVI
A, 00H
DAD
JNC
LOOP
INR
SHLD
4054H
STA
4056H
HLT
OBSERVATION:
ADDRESS
4050H
4051H
4052H
4053H
INPUT
DATA
ADDRESS
4054H
4055H
4056H
OUTPUT
DATA
21
RESULT:
Thus an ALP program for subtracting two 16-bit numbers was written and
executed.
22
FLOW CHART:
START
[L]
[H]
[4050 H]
[4051 H]
[DE]
[HL]
[L]
[H]
[4052H]
[4053H]
[HL][HL]-[DE]
Is there a
borrow?
NO
YES
[C][C]+1
[4054][ L]
[4055] [H]
[4056]
[C]
STOP
23
PROGRAM:
ADDRESS OPCODE LABEL
MNEMO
NICS
MVI
OPER COMMENTS
AND
C, 00
Initialize C reg.
LHLD
4050H
XCHG
LHLD
4052H
MOV
A, L
400A
SUB
400B
MOV
L, A
400C
MOV
A, H
400D
SBB
400E
MOV
H, A
400F
4010
4011
4012
4013
4014
4015
4016
SHLD
4054H
JNC
NEXT
INR
MOV
C
A, C
STA
4056H
Increment reg. C
Transfer the content of reg. C
to Acc.
Store the content of acc. to
the memory location 4506H
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
START
NEXT
4017
4018
4019
401A
HLT
OBSERVATION:
ADDRESS
4050H
4051H
4052H
4053H
INPUT
DATA
ADDRESS
4054H
4055H
4056H
OUTPUT
DATA
24
RESULT:
Thus the 16-bit multiplication was done in 8085p using repeated addition
method.
25
FLOWCHART:
START
L
H
[4050]
[4051]
SP HL
L
H
[4052]
[4053]
DE
HL
HL0000
BC0000
HLHL+SP
Is Carry
flag set?
BCBC+1
DEDE+1
Is Zero
flag set?
26
NO
YES
NO
YES
A
[4054]
[4055]
L
H
[4056]
[4057]
C
B
STOP
27
8000
4001
4002
4003
4004
4005
4006
4007
4008
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
401A
401B
401C
401D
401E
401F
4020
4021
4022
4023
4024
START
OPERAN COMMENTS
O
D
N
I
C
S
LHLD
4050
Load the first No. in stack pointer
through HL reg. pair
SPHL
LHLD
4052
XCHG
LXI
H, 0000H
LXI
B, 0000H
DAD
JNC
SP
NEXT
INX
DCX
MOV
ORA
JNZ
B
D
A,E
D
LOOP
SHLD
4054
MOV
STA
A, C
4056
MOV
STA
A, B
4057
LOOP
NEXT
HLT
28
OBSERVATION:
ADDRESS
INPUT
DATA
OUTPUT
ADDRESS
DATA
4050
4051
4052
4054
4055
4056
4053
4057
RESULT:
Thus the 16-bit Division was done in 8085p using repeated subtraction method.
29
FLOWCHART:
START
L
[4051]
H [4052]
HL
DE
L [4050]
H [4051]
BC 0000H
L; AA- E
LA
AH
AA- H- Borrow
HA
BCBC+ 1
NO
Is Carry
flag set ?
YES
A
30
BCBC- 1
HLHL+DE
L[4054]
H[4055]
AC
[4056] A
AB
[4057] A
STOP
31
PROGRAM:
ADDRESS OPCODE LABEL
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
401A
401B
401C
401D
401E
401F
4020
4021
OBSERVATION:
INPUT
ADDRESS DATA
4050
4051
4052
4053
START
MNEM
ONICS
LHLD
OPERA
ND
4052
COMMENTS
XCHG
LHLD
4050
LXI
B, 0000H
MOV
SUB
MOV
MOV
SBB
MOV
INX
JNC
A, L
E
L, A
A, H
D
H, A
B
LOOP
DCX
DAD
SHLD
B
D
4054
MOV
STA
A, C
4056
MOV
STA
A, B
4057
HLT
OUTPUT
ADDRESS DATA
4054
4055
4056
4057
32
33
FLOW CHART:
START
[HL] [4100H]
[B] 04H
[A] [HL]
[HL [HL] + 1
NO
IS
[A] <
[HL]?
YES
[A] [HL]
[B] [B]-1
IS
[B] =
0?
YES
NO
[4105] [A]
STOP
34
PROGRAM:
ADDRE
SS
4001
4002
4003
4004
4005
4006
4007
OPCO
DE
4008
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
LABEL
LOOP1
LOOP
MNEM
ONICS
LXI
OPER
AND
H,4100
MVI
B,04
MOV
INX
A,M
H
CMP
JNC
M
LOOP
MOV
DCR
JNZ
A,M
B
LOOP1
STA
4105
HLT
COMMENTS
Initialize HL reg. to
4100H
Initialize B reg with no. of
comparisons(n-1)
Transfer first data to acc.
Increment HL reg. to point
next memory location
Compare M & A
If A is greater than M then go
to loop
Transfer data from M to A reg
Decrement B reg
If B is not Zero go to loop1
Store the result in a memory
location.
Stop the program
OBSERVATION:
INPUT
ADDRESS DATA
4100
4101
4102
4103
4104
OUTPUT
ADDRESS DATA
4105
35
36
FLOW CHART:
START
[HL] [4100H]
[B] 04H
[A] [HL]
[HL [HL] + 1
YES
IS
[A] <
[HL]?
NO
[A] [HL]
[B] [B]-1
IS
[B] =
0?
YES
NO
[4105] [A]
STOP
37
PROGRAM:
ADDRE
SS
4001
4002
4003
4004
4005
4006
4007
OPCO
DE
4004
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
LABEL
LOOP1
LOOP
MNEM
ONICS
LXI
OPER
AND
H,4100
MVI
B,04
MOV
INX
A,M
H
CMP
JC
M
LOOP
MOV
DCR
JNZ
A,M
B
LOOP1
STA
4105
HLT
COMMENTS
Initialize HL reg. to
4100H
Initialize B reg with no. of
comparisons(n-1)
Transfer first data to acc.
Increment HL reg. to point
next memory location
Compare M & A
If A is lesser than M then go to
loop
Transfer data from M to A reg
Decrement B reg
If B is not Zero go to loop1
Store the result in a memory
location.
Stop the program
OBSERVATION:
INPUT
ADDRESS DATA
4100
4101
4102
4103
4104
OUTPUT
ADDRESS DATA
4105
38
7(A).ASCENDING ORDER
AIM:
To sort the given number in the ascending order using 8085 microprocessor.
ALGORITHM:
1. Get the numbers to be sorted from the memory locations.
2. Compare the first two numbers and if the first number is larger than second then I
interchange the number.
3. If the first number is smaller, go to step 4
4. Repeat steps 2 and 3 until the numbers are in required order
RESULT:
Thus the ascending order program is executed and thus the numbers are arranged
in ascending order.
39
FLOWCHART:
START
[B] 04H
[HL] [4100H]
[C] 04H
[A] [HL]
[HL [HL] + 1
YES
IS
[A] <
[HL]?
NO
[D] [HL]
[HL] [A]
[HL] [HL] - 1
[HL] [D]
[HL] [HL] + 1
[C] [C] 01 H
40
IS
[C] =
0?
NO
YES
[B] [B]-1
IS
[B] =
0?
NO
YES
STOP
PROGRAM:
41
ADDR
E
SS
4000
4001
4002
4003
4004
4005
4006
4007
4004
OPCO
DE
LABEL
LOOP 3
LOOP2
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
4015
4016
4017
4014
4019
401A
LOOP1
MNEM
ONICS
OPER
AND
MVI
B,04
LXI
H,4100
MVI
C,04
MOV
INX
A,M
H
CMP
JC
M
LOOP1
MOV
MOV
DCX
MOV
INX
DCR
JNZ
D,M
M,A
H
M,D
H
C
LOOP2
DCR
JNZ
B
LOOP3
Decrement B reg
If B is not Zero go to loop3
HLT
COMMENTS
Initialize B reg with number
of comparisons (n-1)
Initialize HL reg. to
4100H
Initialize C reg with no. of
comparisons(n-1)
Transfer first data to acc.
Increment HL reg. to point
next memory location
Compare M & A
If A is less than M then go to
loop1
OBSERVATION:
INPUT
MEMORY
LOCATION
4100
4101
4102
4103
4104
OUTPUT
DATA
MEMORY
LOCATION
4100
4101
4102
4103
4104
DATA
42
43
FLOWCHART:
START
[B] 04H
[HL] [4100H]
[C] 04H
[A] [HL]
[HL [HL] + 1
NO
IS
[A] <
[HL]?
YES
[D] [HL]
[HL] [A]
[HL] [HL] - 1
[HL] [D]
[HL] [HL] + 1
[C] [C] 01 H
44
IS
[C] =
0?
NO
YES
[B] [B]-1
IS
[B] =
0?
NO
YES
STOP
PROGRAM:
45
ADDRE
SS
4000
4001
4002
4003
4004
4005
4006
4007
4004
OPCO
DE
LABEL
MNEM
ONICS
MVI
OPER
AND
B,04
LXI
H,4100
MVI
C,04
MOV
INX
A,M
H
CMP
JNC
M
LOOP1
MOV
MOV
DCX
MOV
INX
DCR
JNZ
D,M
M,A
H
M,D
H
C
LOOP2
DCR
JNZ
B
LOOP3
Decrement B reg
If B is not Zero go to loop3
LOOP 3
LOOP2
4009
400A
400B
400C
400D
400E
400F
4010
4011
4012
4013
4014
4015
4016
4017
4014
4019
401A
LOOP1
HLT
COMMENTS
Initialize B reg with number
of comparisons (n-1)
Initialize HL reg. to
4100H
Initialize C reg with no. of
comparisons(n-1)
Transfer first data to acc.
Increment HL reg. to point
next memory location
Compare M & A
If A is greater than M then go
to loop1
OBSERVATION:
INPUT
MEMORY
LOCATION
4100
4101
4102
4103
4104
OUTPUT
DATA
MEMORY
LOCATION
4100
4101
4102
4103
4104
DATA
RESULT:
Thus the 8 bit BCD numbers stored at 4500 &4501 are added and the result stored at
4502 & 4503.
47
FLOW CHART:
START
[C]
00H
[HL]
4500H
[A]
[M]
[HL][HL]+1
[A][A]+[M]
Decimal Adjust Accumulator
NO
Is there aYES
Carry ?
[C][C]+1
[HL][HL]+1
[M]
[A]
[HL][HL]+1
[M]
[C]
STOP
48
PROGRAM:
ADDRESS OPCODE LABEL
4100
START
4103
4102
4103
4104
4105
MNEMONICS OPERAND
MVI
C, 00
COMMENT
Clear C reg.
LXI
H, 4500
Initialize HL reg. to
4500
MOV
A, M
4106
INX
4107
ADD
4108
DAA
4109
410A
410B
JNC
L1
410C
410D
INR
INX
C
H
410E
MOV
M, A
410F
INX
4110
4111
MOV
HLT
M, C
L1
Increment C reg.
Increment HL reg. to
point next memory
Location.
Transfer the result from
acc. to memory.
Increment HL reg. to
point next memory
Location.
Move carry to memory
Stop the program
OBSERVATION:
INPUT
4500
4501
OUTPUT
4502
4503
49
AIM:
To Subtract two 8 bit BCD numbers stored at consecutive memory locations.
ALGORITHM:
1.
2.
3.
4.
5.
RESULT:
HL HL+ 1
C M
A 99
[A] [A] [C]
[A] [A]+1
[A][A]+[B]
DAA
Is there a
Carry ?
[D][D]+1
[HL][HL]+1
FLOW CHART:
[4502] A
[4503] D
50
STOP
YES
NO
PROGRAM:
51
H, 4500
Initialize HL reg. to
4500
MOV
B, M
4106
INX
4107
MOV
C, M
4108
4109
410A
MVI
A, 99
SUB
410B
410C
410D
INR
ADD
DAA
A
B
410E
JC
LOOP
INR
INX
D
H
4113
MOV
M,A
4114
INX
4115
MOV
M, D
4116
HLT
410F
4110
4111
4112
LOOP
Increment D reg.
Increment HL register
pair
Move the Acc.content to
the memory location
Increment HL reg. to
point next mem.
Location.
Transfer D register
content to memory.
Stop the program
OBSERVATION:
INPUT
4500
4501
OUTPUT
4502
4503
52
Aim:
To write an assembly language program to find the sum of series of data without
carry.
Apparatus Required:
Microprocessor 8085 kit, power supply.
Mnemonics:
XRA A
LXI H, A001
MOV C, M
INX H
MOV A, M
DCR C
INX H
ADD M
DCR C
JNZ 8008
STA C001
RST 1
Result:
Thus an assembly language for sum of given numbers without carry is written and
executed.
53
Date:
Aim:
To write an assembly language program to find the sum of series of data with
carry.
Apparatus Required:
Microprocessor 8085 kit, power supply.
Mnemonics:
MVI C, 00
XRA A
LXI H, A001
MOV B, M
INX H
MOV A, M
DCR B
INX H
ADD M
JNC 8010
INR C
DCR B
JNZ 800A
STA C001
MOV A, C
STA C002
RST 1
Result:
Thus an assembly language for sum of given numbers with carry is written and
executed.
54
55
56
57
58
59
CYCLE II
Ex. No. 10.
Date:
Aim:
To study 4:1 multiplexer operation using IC 74151components.
Study:
MULTIPLEXERS
A multiplexer performs the function of selecting the input on any one of 'n' input
lines and feeding this input to one output line. Multiplexers are used as one method of
reducing the number of integrated circuit packages required by a particular circuit design.
This in turn reduces the cost of the system.
Assume that we have four lines, C0, C1, C2 and C3, which are to be multiplexed
on a single line, Output (f). The four input lines are also known as the Data Inputs. Since
there are four inputs, we will need two additional inputs to the multiplexer, known as the
Select Inputs, to select which of the C inputs is to appear at the output. Call these select
lines
A
and
B.
The gate implementation of a 4-line to 1-line multiplexer is shown below:
60
Result:
Thus the truth table for multiplexer IC 74151 is studied
61
Aim:
To study 1:8 Demultiplexer operation using IC 74154 components.
Study:
DEMULTIPLEXERS
A Demultiplexer (DMUX) is a device which essentially performs the opposite
operation to the MUX. That is, it functions as an electronic switch (/data distributor) to
route an incoming data signal to one of several outputs. Figure 2-15 shows the logic
symbol for the 1-line-to-4-line Demultiplexer circuit and Table 2-15 list the associated
Truth table. The corresponding logic circuit implementation is then shown in Figure 2-16.
Outputs
Data
S1
S0
Y0
Y1
Y2
Y3
62
Result:
Thus the truth table for Demultiplexer IC 74154 is studied
63
Study of Encoder
0 0 1 0 0
0 1 0 0 1
1 0 0 0 1
4 to 2 encoder
Priority encoder
A priority encoder prioritizes more significant bits in the data stream, and once it finds a
high signal will ignore all other bits. An example of a single bit 4 to 2 encoder is shown.
I3 I2 I1 I0 O1 O0
0 0 0 d 0
0 0 1 d 0
0 1 d d 1
1 d d d 1
64
4 to 2 priority encoder
Ex. No. 14.
Study of Decoder
Date:
Aim:
To study the decoder function using IC 74147.
Study:
DECODER
A decoder is a device which does the reverse of an encoder, undoing the encoding
so that the original information can be retrieved. The same method used to encode is
usually just reversed in order to decode.
In digital electronics this would mean that a decoder is a multiple-input, multipleoutput logic circuit that converts coded inputs into coded outputs, where the input and
output codes are different. e.g. n-to-2n, BCD decoders.
Enable inputs must be on for the decoder to function, otherwise its outputs assume
a single "disabled" output code word. Decoding is necessary in applications such as data
multiplexing, 7 segment display and memory address decoding.
The simplest decoder circuit would be an AND gate because the output of an
AND gate is "High" (1) only when all its inputs are "High".
Example: A 2-to-4 Line Single Bit Decoder
A slightly more complex decoder would be the n-to-2 n type binary decoders. These
type of decoders are combinational circuits that convert binary information from 'n' coded
inputs to a maximum of 2n unique outputs. We say a maximum of 2n outputs because in
case the 'n' bit coded information has unused bit combinations, the decoder may have less
than 2n outputs. We can have 2-to-4 decoder, 3-to-8 decoder or 4-to-16 decoder. We can
form a 3-to-8 decoder from two 2-to-4 decoders (with enable signals).
A 2-to-4 line decoder/demultiplexer is shown below.
As a decoder, this circuit takes an n-bit binary number and produces an output on
one of 2n output lines. It is therefore commonly defined by the number of addressing
input lines and the number of data output lines. Typical decoder/demultiplexer ICs
might contain two 2-to-4 line circuits, a 3-to-8 line circuit, or a 4-to-16 line circuit.
65
One exception to the binary nature of this circuit is the 4-to-10 line
decoder/demultiplexer, which is intended to convert a BCD (Binary Coded Decimal)
input to an output in the 0-9 range.
If you use this circuit as a demultiplexer, you may want to add data latches
at the outputs to retain each signal while the others are being transmitted.
Result:
Thus the Encoder is studied using IC 74147
66
CYCLE III
Aim:
To study architecture, transfer modes and coupling methods of MIL STD 1553B
data bus.
67
68
69
70
71
72
73