Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
3K views
Microprocessor 8085 - Solution Manual
Uploaded by
dutta_joy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Microprocessor 8085 - Solution Manual For Later
Download
Save
Save Microprocessor 8085 - Solution Manual For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
3K views
Microprocessor 8085 - Solution Manual
Uploaded by
dutta_joy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Microprocessor 8085 - Solution Manual For Later
Carousel Previous
Carousel Next
Save
Save Microprocessor 8085 - Solution Manual For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 35
Search
Fullscreen
PART I: SOLUTIONS CHAPTER (Components of a computer: ALU and Control Unit (CPU), Memory, Input, ané Output. Functions of various components: CPU: It processes and stores binary data, wansfers data from and to memory and VO devices, and provides timing to all the operations. It includes ALU, register arrays, and control unit. ‘The ALU performs the arithmetic and logic operations, and the control unit provides timing. ‘Input - provides binary data as an input to the CPU. Output - accepts binary data from the CPU. A microprocessor functions as the CPU of a microcomputer, and includes the ALU, register arrays, and the control unit on one chip; it je manufactured using the LSL technology. On the Sther hand, the CPU is designed with various discret boards, Functionally, both are simian: however, technology and processes used for designing is different A microprocessor is one component of a microcomputer, and the microcomputer is complete computer consists of a microprocessor, memory, input, and output ‘See Summary: Scale oF Totagration Four bytes. “The machine language of the 8085 are the comamands to the microprocessor given in binary. ‘These are the binary instructions the processor can uncerstand and execute. ‘The assembly Ianguage comprise ef mnemonics (group of letters (o represent commands) assigned by the manufacturer For the convenionee of the users, 9, 10, 11. See Summary: Computer Languages 12. ‘The assembly language mnemonics represent instructions to the microprocessor; therefore, ‘hen they are wanslated into machine language. there is one-to-one correspondenc= between the mnemonics and the machine code. The assembly language programs are compact, require less memory space, and are efficient. ‘The high level languages arc written, in English- like statements, and when these statements are translated in machine language. the ‘object code tends to be large, and requires large memory. ‘The execution of the programs ‘written in high level languages is less efficient than that of assembly language programs15, 14, See Summary: Computer Languages 15. 16. ASCII codes in Hex: A= 41, 5A, snd m=6D s Summary: Computer Languages CHAPTER? is 2 10 12 ‘Memory Read, Memory Write, VO Read, and YO Write A bus is group of lines (wires or conductors) which carry digital information. “The fiction of the address bus sto camry binary adress of a memory Jocation or an YO device. The address bur ig unidirectional, and the inforaation flows from the MPU to peripherals and memory “A microprocessor with 14addeeas lines is capable of addressing 16K (2) memory ovations 21 adress Lines, ‘Data bytes are transfered in both directions between the MPU and memory/peripherals, TOR (VO Read), IOW (VO Write), MEMR (Memory Read, sad MEMW (Memory Write) 1m memory write operation, the control siznal required is MEMW, and the direotion of the data flow is fom the MPU to memory. “The accumulators an §-bit register anditiea partof the ALU. All8-bit arithmetic and logic ‘operations are performed in relation to the accumulator conient, and thereeult is storedinthe steurnulator (with a few exceptions) A fing is the output of a given Mip-flop to indieate certain data conditions. ‘The program counter and the stack pointer store memory sddzesees of 16 bits. ‘The program counter always points to the next memory location; thersfore, the content of the program counter will be 2058H, 128 registers and 128 X 4 = 512 memory cells 1024 bits are can be stored by this chip; however, it can not be specified as a 128-byte _memary chip because the byte indicates S-bit memory repisters; this chip has 4bit registers.1s, 16. 16 18. 21 2, Fs 24, 2s. 26. 28 29, 30, 3. 32. 33, 34. S-bit word size 8 chips. A chips. 32 chips. ‘The WR signal enables the input bulfer of s memory chip 90 that information ean be stored (oritton) in the Selected memory register 1 adress Hines, 16 pages and the last location is 2FFFH. ‘The stating address is FBOOH, end the memory map is PROOKT to FRFPEL “The staring address ie: EOOOH, ‘The address ranges ftom FFOOH to FEFFEL “The address ofthe selected register: 1000 0000 0100 0111 = 047H ‘The memory map ranges fkom 200011 to 23FFH. ‘The address of the selected register: 0010 0000 1111 1000 = 20% 8 adress lines are required for a peripheral VO port, and 16 address lines are required for 8 memory-mapped VO port ‘Tri-state dovicos are logle devieet with three states; the ted tate ie high impedance. Ina ‘bus-orlented system, devices are connected in parallel, and the buses are capable of driving fone TTL logic device. The MPU communicates with one peripheral st a time, and odor ‘penpherals are placed in igh impedance to svoid bus loading, “High impedance tae From to. ‘None. The decoder is not enabled: all outpet lines will be high, “The line 6 (0 (001 (Complement of 10)35 36. 3. 38. ‘A transparent latch ga flip-flop; its ourput changes according to input when the clock signal ig high, and it latches the input when the clock goes low. The latch [s necessary for output dovicos to rotain the result otherwise, the resue will disappear. “The high-order address lines: A12-A1S, the low-order address lines: AO-A10, and the don't care line: ALL ‘This answer assumes the memory chips are 2048 X 4 AIS AIA AI3 AIZ ALL ALO AS ASAT AG AS A4.A3 AZ. AL AG 1 1 1 10 000000000 0 o=F000H 1 1 bop bo bp aad dab td PRR ‘The memory occupies the memory space from FOOOH to FFFFH. The don't care line Al ‘generates additional address range. This is a 2K memory chip that oceupies 4K of memory Space in the map, thus wasting 2K of memory space. IF A11 is assured to be at logic O as in @. 27, the address range is: FOOOH to F7FEH and if tis assumed to be at logic 1, the fddress range (also called foldback memory space) is: F800H to FFFFHL, CHAPTER 3 “The ALE signal goes high at the boginning of each machine cycle indicating the availabiliey ‘of an address on the address bus, and the signal is used to latch the low-order address bus. ‘The IO/M signal ie a satus signal indicating whether the machine cycle is VO or memory ‘operation. ‘The TO/M signal is combined with the RD and WR control signals to generate TOR, 1OW, MEMR and MEMW control signals. “The low-order bus AD7-ADO is used for two purposes. In the carlicr part of a machine cele, the bus is used forthe low order address of a memory location the 8085 is accessing. land in the latter part of the cycle the bus is used for data. By demultiplexing the bus, he ‘Midrese and the data are kept separate. {In Fig. 3.22, the input signal RD ané WR cannot be low atthe same time. Therefore, the ‘Valid combinations ofthe input signals are:n 2. 13. 14. OM RD WR Output Signal 2 © 0 invaiia 2 0 3 MEM 2 1 0 Oo, Mew 0 1 1G Erelevant 16 0G nvata 10 1) 6 10R 1 1 6 & Tow P11 Os elevant See the answer of Q3. RD and WR cannot be active simultaneously Mand RD active Mand WR active Both RD and WR are inactive [RD and WR cannot be active simukaneousty TO and RD active 10 and WR active Both RD and WR are inactive In Fig. 3.25, the 7418139 is enabled when IO/M is low. Therefore, the following memory ‘contol signals can be generated. ‘The output of the latch will be OSH; however, it will be not be latched until the ALE goes low. ‘The output of the latch is OSH. At 72, the ALE is low; therefore, the latch will not be ‘enabled, and it will continue to hold the previously latched byte (OSI. ‘The crystal stoquency should be ~ 2.2 MEz because the oscillator logie divides the input Frequency by wo. See the steps on page 66/67, Example 3.1 ‘The sum of 87H 79H = 100K. Therefore, the accumulator will have OOH, snd the flows willbe 0, C¥ = 1.2=1 20601. The program counter always points tothe next mechine code to be fetched. IST X 2 micro-tce = 3.6 micro-see, (AIS-A8) = 2081, (AD7-ADO) [RD and JO/M are asserted low. as 47H, (PC) = 207619, 20. a 22, 23, 25, 28. ‘The second machine eycle is Memory Read; the processor reads the contents of memory in register B, apd the contol signal is RD, “The fourth machine cycle is Memory Read; the processor reads the contents of memory in the accuanlator. (A1S-A0) = 20501 (AD7-ADO) as data bus = Contents of location 205014 (Refer to Instruction Sot on pages 696-699) UBB = OF (Opeode Fetch) ‘ADI 47H = OF, MR (Memory Read) STA 205011 = OF, MR, MR, MW (Memory Write) PUSHB = OF, MW, MW. ‘Memory map: 6000H to 6FFFH ‘Memory map: 8000H to SFFFH_ OR gate Connect RD to OF of the memory chip and IOMM to R2 of the decoder AISAISAISAIZ AI] AIO A9 ABA7 AGAS AS AS A2 AL AO 0 0 1 6 1 © 60000 00000 =2800% 1 I boat a aa ata eer ‘Total range 16K. Map = S000H to BFFFEL A data byte entered at location 2100H will be accepted and stored at location 2000H. The ‘adarees lines A 10, AO, and AS aronotbeing used for memory addressing: therefore, they ean ‘assume O oF 1 (dont care) logie state wich sevults into multiple addresses forthe same ‘memory locations ‘Memory address: 0800H-OSFFH, and the foldback memory ranges from 0900 to OF FFE. ‘Memory map: 3800H - 3FFFEL {In Figure 3.19, three lines are dant care which can have (2) eight combinations. This the ‘memory chip Will occupy the memory space equal to citht tes is ize ROMI: 0000H - LFFFE, ROM2: E0001 - FFFFH, R/WMI: 8000 - $3FFH
You might also like
MachineProblem 1 SAMSON
PDF
No ratings yet
MachineProblem 1 SAMSON
2 pages
Problems 4 (Chapter 5) PDF
PDF
100% (2)
Problems 4 (Chapter 5) PDF
6 pages
Programmable Logic Devices 2, Tutorial
PDF
100% (1)
Programmable Logic Devices 2, Tutorial
10 pages
Combinational Logic Circuits
PDF
No ratings yet
Combinational Logic Circuits
39 pages
CD4066 PDF
PDF
No ratings yet
CD4066 PDF
20 pages
Design and Implement A Four Bit Adder Using Logic Gate ICs
PDF
No ratings yet
Design and Implement A Four Bit Adder Using Logic Gate ICs
10 pages
Valliammai Engineering College: Question Bank
PDF
No ratings yet
Valliammai Engineering College: Question Bank
18 pages
Logic System Specifications-WORDED Problems
PDF
No ratings yet
Logic System Specifications-WORDED Problems
15 pages
ETU 07322 - Digital Electronic Lab Manual
PDF
No ratings yet
ETU 07322 - Digital Electronic Lab Manual
33 pages
Evolution of Microprocessor
PDF
No ratings yet
Evolution of Microprocessor
10 pages
Subject Code: EC1254 Subject Name: Linear Integrated Circuits Year/Sem: II / IV
PDF
No ratings yet
Subject Code: EC1254 Subject Name: Linear Integrated Circuits Year/Sem: II / IV
8 pages
ADC 11 Digital Modulation
PDF
No ratings yet
ADC 11 Digital Modulation
38 pages
Iecep Compilation Electronics
PDF
No ratings yet
Iecep Compilation Electronics
3 pages
Generalities On Ucs
PDF
No ratings yet
Generalities On Ucs
11 pages
Addressing Modes in 8085 - ComputerSC PDF
PDF
No ratings yet
Addressing Modes in 8085 - ComputerSC PDF
6 pages
Voltage Divider Bias
PDF
No ratings yet
Voltage Divider Bias
21 pages
Electronics Engineering Mastery Test 6 ECE Pre-Board PDF
PDF
No ratings yet
Electronics Engineering Mastery Test 6 ECE Pre-Board PDF
30 pages
NAND-NAND and NOR-NOR Implementations: Objectives
PDF
100% (1)
NAND-NAND and NOR-NOR Implementations: Objectives
6 pages
EC8252-Electronic Devices Super Questions
PDF
No ratings yet
EC8252-Electronic Devices Super Questions
9 pages
HDL Manual (18ecl58)
PDF
No ratings yet
HDL Manual (18ecl58)
20 pages
LC Lab Print Me Pls
PDF
No ratings yet
LC Lab Print Me Pls
5 pages
Fpga Based Real Time Monitoring System For Agricultural Field
PDF
No ratings yet
Fpga Based Real Time Monitoring System For Agricultural Field
9 pages
EC8553 Electron Devices and Circuits Question Bank
PDF
No ratings yet
EC8553 Electron Devices and Circuits Question Bank
24 pages
Lecture Plan 1: S. No. Topic:-Introduction To Two Port Network, Z & Y Parameters - Time Allotted
PDF
No ratings yet
Lecture Plan 1: S. No. Topic:-Introduction To Two Port Network, Z & Y Parameters - Time Allotted
0 pages
Applied II Note
PDF
No ratings yet
Applied II Note
142 pages
PDF 4 Flags in 8085
PDF
No ratings yet
PDF 4 Flags in 8085
4 pages
Power Amplifier - Research Paper
PDF
No ratings yet
Power Amplifier - Research Paper
5 pages
Lecture 4 Phase-Shift Keying PDF
PDF
No ratings yet
Lecture 4 Phase-Shift Keying PDF
5 pages
Tutorial Shift Register (Ans)
PDF
No ratings yet
Tutorial Shift Register (Ans)
7 pages
Embedded Syetem
PDF
100% (1)
Embedded Syetem
11 pages
Module-7: Types of Programmable Logic Devices: PLA, PAL, CPLD, FPGA Generic Architecture
PDF
No ratings yet
Module-7: Types of Programmable Logic Devices: PLA, PAL, CPLD, FPGA Generic Architecture
20 pages
Activity 3: Count Down With 4 Digit 7 Segment Objectives
PDF
No ratings yet
Activity 3: Count Down With 4 Digit 7 Segment Objectives
18 pages
DCD Handout
PDF
No ratings yet
DCD Handout
38 pages
Coherent ASK Detectors
PDF
No ratings yet
Coherent ASK Detectors
3 pages
02 Solutions For Example FM
PDF
No ratings yet
02 Solutions For Example FM
9 pages
Digital Electronics & Fundamentals of Microprocessor Paper - IV
PDF
100% (1)
Digital Electronics & Fundamentals of Microprocessor Paper - IV
2 pages
Solution For All Problems in Chapter 9
PDF
0% (1)
Solution For All Problems in Chapter 9
3 pages
EET201-Circuits and Networks
PDF
No ratings yet
EET201-Circuits and Networks
10 pages
Radio-Frequency Circuits6
PDF
No ratings yet
Radio-Frequency Circuits6
18 pages
Final Exam of The Microprocessor
PDF
No ratings yet
Final Exam of The Microprocessor
13 pages
Tomasi Questions
PDF
No ratings yet
Tomasi Questions
3 pages
Digital Electronics 6
PDF
No ratings yet
Digital Electronics 6
20 pages
Session - 8 - PLA PAL
PDF
No ratings yet
Session - 8 - PLA PAL
14 pages
Vlsi Lab
PDF
No ratings yet
Vlsi Lab
57 pages
MCQ in Microelectronics
PDF
No ratings yet
MCQ in Microelectronics
9 pages
Wave Guides
PDF
No ratings yet
Wave Guides
33 pages
EMFT Questions Assignment 14 15
PDF
No ratings yet
EMFT Questions Assignment 14 15
3 pages
BCD Adder
PDF
50% (2)
BCD Adder
23 pages
Session 4 - MOSFET - Exercises
PDF
100% (1)
Session 4 - MOSFET - Exercises
4 pages
Unit 4 Material
PDF
No ratings yet
Unit 4 Material
14 pages
8085
PDF
No ratings yet
8085
40 pages
Lec 1-2-8085 Architecture
PDF
No ratings yet
Lec 1-2-8085 Architecture
34 pages
8085 Microprocessor
PDF
No ratings yet
8085 Microprocessor
34 pages
8085 Microprocessor
PDF
No ratings yet
8085 Microprocessor
7 pages
Chapter 2
PDF
No ratings yet
Chapter 2
67 pages
MPA UNIT 1 and 2
PDF
No ratings yet
MPA UNIT 1 and 2
48 pages
Microprocessor History1
PDF
No ratings yet
Microprocessor History1
40 pages
Read and Answer
PDF
No ratings yet
Read and Answer
15 pages
Ch-2 MP
PDF
No ratings yet
Ch-2 MP
15 pages
Microprocessor and Micro Controller
PDF
No ratings yet
Microprocessor and Micro Controller
118 pages