Skip to main content

Free notes of the operating system some imp questions

 1. ALU 

2. STACK POINTER

3. PROGRAM COUNTER

4. INSTRUCTION REGISTER AND DECODER


ALU ( ARITHMATIC AND LOGIC UNIT )


It is 8 bit unit 

In this arithmetic and logical operation are carried out .

ALU contain the binary adder to perform addition substracion by 2’s complement method

Data is supplied by memory devices and input ouput devices

The result is typically stored in the accumulator.


STACK POINTER:-

Stack poiointer is a 16 bit register which contain the address of top of stack

With the help of incrementer and decrementer stack pointer perform their work

The stack pointer is incremented when data is push 

The stack pointer is decrementd when data is pop.


INSTRUCTION REGISTER AND DECODER :-


During the instruction fetch, the first 8 bit of instruction is transfer to the 8 bit instruction register

The content of instruction register are available to the instruction decoder

The output of decoder get by timing signals, ALU & data buffer.


PROGRAM COUNTER:-

Program counter is 16bit register acting a pointer to next executable instruction

It always contain the 16 bit address of memory location where next executable code is stored

Microprocessor uses this register to sequence the execution of instruction.

PC is a auto incremented pointer.


REGISTERS IN MICROPROCESSOR 8085

1. ACCUMULATOR

2. TEMPORARY REGISTER

3. INCREMENTER / DECREMENTER

4. REGISTER B & C

5. SERIAL I/O CONTROL


ACCUMULATOR:-

Accumulator is main 8 bit register in microprocessor 8085.

It is used to perform arithmetic and logical operation one of the operand is always stored in accumulator

It can be used as both primary source and destination register and the final result is always stored in accumulator

All data transfer between cpu and i/o devices are perform through accumulator. 



TEMPORARY REGISTER:-

The temporary register is used to stored the data during execution of arithmetic or logic instruction 

The register used internally 

This register is not available for the programmer

This one is very useful register of microprocessor 8085.



INCREMENTER/DECREMENTER:- 

It is 16 bit special purpose register 

It also used inn addition and substraction

It is used to add or substract one from the program counter or stack pointer.



REGISTER B/C:-

Register b and c this are the general purpose register 

It is 8 bit register but it can be also used as a 16 bit register 

The most significant 8 bit are stored in the register b and the least 8 bit are stored in register c .

This register are programmable register means programmer can used this rergister.


Thank you 

Keep study with us....,...









Comments

Popular posts from this blog

Free notes of all naming reactions .(handwritten notes jee, neet, mht-cet)

All naming reactions  (Handwritten notes.)                   organic chemistry naming reactions.

Important MCQ and imp programs of html and c++.

  Some important MCQ . Ans. :- a)-i) , b)- i) , c)- iii) , d)- iii)                        Ans. :- a)- ii) , b)- iii) , c) - iii) , d)- ii)                         Ans.:- a)- ii) , b) - i), c) - iii) , d) - ii)                        And. :- a)- iii) , b)- ii) , c)- iii) , d) - iii)                       Ans. :- a) - ii) , b) - i), c)- iii) , d) - iii)                      Some important previous year questions of programming. 1) 2) 3) 4)

Free notes of C++ language theory ,12 th HSC (part 1)

 What is c++ ? What is the advantages of c++ ? C++ is an object oriented programming language Initially c++ was name as “c with classes”. C++ was developed by Bjarne stroustrup at & T Bell Laboratories , usa , in the early eighties . Advantages of c++ over c are : (1) c++ is an incremented version of of c . It is sperset of c. almost all c programme are also run in c++ compiler . (2) The important faculties added in c++ are classes , function overloading , operator overloading . (3) C++ allow user to create abstract data type , to inherit properties from existing data type . (4) c++ supports polymorphism . (5) Any real life application systems such as editor , compiler , database , communication system can be built by c++. (6) Object oriented libraries can be built by c++. (7) c++ programs can be easily implemented , maintained and expanded. What do you mean by object based programming language and object oriented programming language? State the relationship b...