Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Microprocessor Based Systems Assignment

Microprocessor Based Systems Assignment

|Views: 99|Likes:
Published by Muhammad Umair
Microprocessor Based Systems Assignment 1,Usman Institute of Technology,UIT,uP,Sir Salman Jaffri,MBS
Microprocessor Based Systems Assignment 1,Usman Institute of Technology,UIT,uP,Sir Salman Jaffri,MBS

More info:

Categories:Types, School Work
Published by: Muhammad Umair on Apr 24, 2013
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less





Q1) Explain in detail why program counter and stack pointer are of 16 bits in 8085 and specify how a program counter is useful in program execution? Answer: Program Counter (PC):
This is a 16-bit register deals with sequencing the execution of instructions. This register is a memory pointer.Memeory locations have 16-bit addresses, and that is why this is a 16-bit register. The Microprocessor uses this register to sequence the execution of this instructions. The function of the program counter is to point to the memory address from which the next byte (machine code) is being fetched, the program counter is incremented by one to point to next memory location.
Stack Pointer (SP):
The stack pointer is also a 16-bit register used as a memory pointer. It points to a memory location in R/W memory, called the stack. The beginning of the stack is defined by loading 16-bit address in the stack pointer.
Program Counter is useful in program execution because it points to the next memory address in which next OPCode is saved. After rebooting the system the program counter is reseted to 0 value
Q2) What is the need for ALE signal in 8085 microprocessor? Answer: ALE: Address Latch Enable
. This signal is a pulse thatbecome1when theAD0
 AD7lines have an address on them. It becomes 0 after that. This signal can be used to enable a latch to save the address bits from the AD lines.
Q3) What is the importance of the READY signal in 8085? Answer:
pin on the 8085 microprocessor is used to delay the completion of a bus transfer cycle. It is sampled by the 8085 at the falling edge of clock following ALE. If it is high, the cycle completes. If it is low, the cycle is extended by one clock, with all lines held steady - then it is sampled again at each of the next falling edges of clock until it is high. The purpose of READY is to allow (usually) memory devices to operate at a slower speed than the 8085.
Q4) Discuss BIU of 8086 in detail? Answer:
The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating the addresses of the memory operands. BIU contains Instruction queue, Segment registers, Instruction pointer and Address adder. It provides a full 16 bit bidirectional data bus and 20 bit address bus. The bus Interface unit is responsible for performing all external bus operations. BIU also contains a dedicated adder which is used to generate the 20 bit physical address that is output on the address bus. This address is formed by adding an appended 16 bit segment address and a 16 bit offset address.
Q5) Discuss EU of 8086 in detail? Answer:
The Execution Unit (EU) is responsible for decoding and executing all instructions. The EU extracts instructions from the top of the queue in the BIU, decodes them, generates operands if necessary, passes them to BIU and requests it to perform the read or write by cycles to memory or I/O and perform the operation specified by the instruction on the operands. During the execution of the instruction, the EU tests the status and control flags and updates them based on the results of executing the instruction.
If the queue is empty, The EU waits for the next instruction byte to be fetched and shifted to top of the queue. When the EU executes a branch or jump instruction, it transfers control to location corresponding to another set of sequential instructions. Whenever this happens, the BIU automatically resets the queue and then begins to fetch instructions from this new location to refill the queue

Activity (11)

You've already reviewed this. Edit your review.
1 hundred reads
Muhammad Umair liked this
Muhammad Umair liked this
Muhammad Umair liked this
Muhammad Umair liked this
Muhammad Umair liked this
Muhammad Umair liked this
Uroosa Siddiqi liked this
Muhammad Anas Siddiqui liked this
Muhammad Umair liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->