March 2, 2012

Synchronous Interrupts – Examples

Synchronous Interrupts – Examples Software interrupts on the contrary are not generated from outside the processor. They just provide an extended far call mechanism. As we have discussed that the real interrupts are hardware interrupts so all the outside interrupts which are not because of hardware, those are software interrupts and we call them synchronous […]

Synchronous Interrupts

Synchronous Interrupts Synchronous events are those that occur side by side with another activity Synchronous means that the interrupt has nothing to do with the currently executing instruction and the current state of the processor.

Asynchronous Interrupts – Examples

Asynchronous Interrupts – Examples Hardware interrupts are generally asynchronous, meaning they can occur at any time and rarely do they occur at the same spot in a program. An interrupt is an asynchronous procedure call the CPU generates in response to an external hardware signal. Hardware interrupts are the real interrupts generated by the external […]

Asynchronous Interrupts

Asynchronous Interrupts Interrupts are asynchronous and unpredictable. Asynchronous means that the interrupts occur, independent of the working of the processor, i.e. independent of the instruction currently executing. Interrupts must be asynchronous as they are generated by the external world which is unaware of the happenings inside the processor. True interrupts that occur in real time […]

HLA – High Level Assembly

HLA – High Level Assembly One of the ways is usage of HLA (High Level Assembly). It fully supports advanced data types and object oriented assembly language programming. Syntax is of HLL e.g. C++. It is a quick approach to combine assembly with HLL. On other hand when we take example of C language as […]

Practically implementing Object oriented concepts using c++

Practically implementing Object oriented concepts using c++ (Download Code) #include #include #include “mc100200752_CS304_5.h” //mc100200752 //START – DEFINITION OF administrator FUNCTIONS bool administrator::login() { //we will compare this id with our library DBMS records //if user exists then is_login = true; return is_login; }; bool administrator::logoff(int id) { }; int administrator::search() { }; int administrator::Return() { […]

C++ Implementation, simple association, composition, aggregation

C++ Implementation, simple association, composition, aggregation 1. Simple Association: It can be implemented by sending messages from one object to another as this type of association does not involve any type of containment. 2. Composition: Composition is achieved by adding declaration of object of one class in other object. 3. Aggregation: Aggregation is implemented by […]

The concept of composition in OOP, Inheritance, Public & private inheritance, basic constructs of OOP in a program

The concept of composition in OOP, Inheritance, Public & private inheritance, basic constructs of OOP in a program A C++ Program in which you will learn to write a class ‘Pakistani Citizens’ which has five data members “name, age, CNIC No, province, and domicile” and two data functions getter and setter for each data member […]