C Program to Display SCAN and ASCII Codes of Keys on Keyboard Using 8086 Interrupt

output of C program source code to find scan code and ASCII code of any key pressed on keyboard asci ascii A 65 97 32 30 keyboard code using 8086 interrupt 16 0x16 16h INT16 int86 int86x
Output (ASCII and SCAN code) when a is pressed
This program displays SCAN code and ASCII code of any key pressed on the keyboard. We use inregs is made zero in the program. Then interrupt 16h is called using int86() function in dos.h. The arguments are interrupt number (in hexadecimal ; in C 0x16) pointer to input register and pointer to output register.

Algorithm, C and C++ Programs to find Closure From Functional Dependencies

In this post we will see how to find closure of an attribute or a set of attributes. Before learning how to get closure, we should first know what is a closure. Closure of a given set C is the set of attributes that are functionally determined by the set C under the set of functional dependencies F. There can be closure for any set. Every attribute in the set whose closure is to be found out, will be a member of its closure set C+ also. Consider an example:

Diagonalisation Principle as Proving Technique - Tutorial with Examples

Diagonalisation principle is a mathematical method of proof. It is included in Theory of computation as a proving technique. The following is a download link to a PDF tutorial of Diagonalization principle.

Click here to download tutuorial as PDF

Age of Empires 3 Cheat Codes and Tricks

It would be helpful sometimes to use some of the cheat codes while you play the game Age of Empires III from Ensemble studios. There are some tricks also which will help you to enjoy the game better. Here are the cheat codes and game tricks and hints for the Age of Empire 3 Game. You can use the same cheats for the Warchiefs and Asian dynasties extension packs of the game also.

Cheat codes

Code Effect
this is too hard Win in singleplayer
<censored> Gives 10,000 wood
Ya gotta make
do with what ya got
spawns the Mediocre
Bombard at your Home City gather point
Sooo Good Turn on “Musketeer’ed!” when you get killed by Musketeers
Speed always wins

Intel 8085 Microprocessor Simulator Software for Computer

In this post, I am adding links to some of the Intel 8085 Microprocessor kit Simulator software for your computer. They are available free of cost. There are 8085 simulator applications with Microprocessor textbooks like 8085 Microprocessor by Gaonkar. The following are 8085 simulator software for computer available for free download.

Java simulator with good features.
http://8085simulator.codeplex.com

GNU SIM 8085 simulator for Windows and Linux
http://gnusim8085.org

C and C++ Compiler For Android Smartphones

In this post i'm listing some C Program compilers for Android phones or tabs. It will be very handy if you have one in your phone if you are a programming student. You don't need to have a laptop or a Personal computer with you.

C4Droid


It is a powerful offline C/C++ IDE + C/C++ compiler for Android operating System. I have been using it for 1 year. You do not need to root your phone to use this app. Its features are as listed below:

Principle of Mathematical Induction - Tutorial with Example Problems

In this post, I am adding a study material for Principle of Mathematical induction. The principle of Mathematical induction is a proving technique widely used. Therefore, Mathematical induction also comes in various subjects like mathematics, physics and theory of computation (also in engineering courses). The same thing is taught in plus one (first year of higher secondary or senior seconadary (for CBSE)) maths. Here i am adding a pdf file with a tutorial for Principle of mathematical induction. You can download the PDF tutorial from following link:

Click here to download PDF tutorial.



Storage Classes for Variables in C Programming Language

Every variable in C programming language has two properties; type and storage class. 'Type' refers to the data type of the variable such as integer, character, floating point values etc. It also deals with the size of the variable ( in bytes). 'Storage class' determines the part of memory where storage is allocated for the variable and how long the storage allocation continues to exist. It also determines the scope which specifies the part of the program over which a variable name is visible, i.e. the variable is accessible by name. The scope restriction can be overrode by making use of pointers. Whatever, in short, storage class is the property that determines the part of memory where storage is allocated, the lifetime of variable and the scope of the variable.

There are for storage classes in C programming:

  • Automatic
  • Register
  • External
  • Static

Intel 8085 Microprocessor Simulator for Android Phones

Simulator application software for  8085 microprocessor intel for Android phone. samsung galaxy app download playstore full version .apk
8085 microprocessor
Intel 8085 is a basic microprocessor with 8 bit data bus. Since it is a basic microprocessor, it is included in the syllabus of many Engineering and Diploma courses. Assembly level programming for 8085 microprocessor is also part of many syllabi. The same microprocessor kit is also available in many colleges for practicals. So, it is inevitable to have an Intel 8085 simulator. There are some simulators available for PC. But they are not much abundant in Android apps. Here i am telling you about an 8085 simulator for your Android phone. You can find it by searching in playstore "Intel 8085 Simulator".

8085 Simulator in Playstore