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

Intel 8085 Microprocessor Instructions - Hex codes and Mnemonics

In this post, we will see the 8085 Microprocessor instructions and corresponding hex codes. This table is useful to hand assemble the  8085 program. In many universities, 8085 programming is included for practicals under computer science and engineering courses. Each mnemonic has its own hex codes. An assembler is a program which converts the code written in mnemonics into hexadecimal codes. The monitor program (part of microprocessor kit) translates the hex codes to corresponding actions to be performed by CPU.

Get 8085 Simulator (with assembler)  for computer


Get 8085 Simulator for Mobile



How to hard Reset Nokia E6 - 00

In this post, we will see how to hard reset Nokia E6-00, simply Nokia E6. Hard reset will erase all the
Nokia E6 00 how to hard reset Nokia phone using key combination star green dial button 3
Nokia E6 - 00
data on the phone memory. You should backup your contacts and other important data before doing it. You should have enough battery charge before you hard reset your phone. Now to hard reset the phone, you have three options. You can solve most of the software problems (if any) with the phone by just doing a hard reset. To hard reset your phone, there are three methods. I recommend the second method.

Method 1:

Hard Reset with Software Menu:

Go to Menu and navigate as follows:
Menu -> Settings -> Phone -> Phone management -> Factory settings -> Delete data and restore
Nokia E6 will ask for the security code. Enter it. The default security lock code is: 12345. If you have changed it, enter your security code.

How to Hard Reset Sony Xperia P

Sony Experia Xperia P Android smart phone hard reset how to reset total complete full restore default factory settings key combination service secret command code
Sony Xperia P
This post will tell you how to hard reset a Sony Xperia P Android Smart phone. Before you hard reset your phone, you should take a backup for whatever data you may need later, especially contacts. You may backup your contacts using 'export' option in options menu of 'contacts'. You may also use the 'PC companion' software provided by Sony to take backup. Another option is to use the backup service provided by Google server.



How to Hard Reset Nokia C5 -00

In this post, we will see how to hard reset Nokia C5 phones. Nokia C5 phones are Symbian s60 phones. Hard resetting Nokia C5 is so simple. You can solve most of the non hardware problems with the phone by just doing a hard reset. Hard reseting will erase all data on phone including Contacts, applications, notes etc. After hard reset the phone will be as if you have bought it as a new one. So, before you hard reset your phone, don't forget to backup your all important data including contacts.

How to hard reset Nokia C5 00 popular symbian smart phone high good specifications Key buttons combination three star dial green press and hold which
Hard reset Nokia C5 00
In the case of contacts, you may copy all the contacts into your SIM card. Or you may use the built in backup option available in phone which will backup contacts, applications, notes etc. You can see it in options somewhere in 'tools'->'Memory card'. You may also backup all your data using a Nokia PC suite or Ovi-suite.


To hard reset Nokia C5-00 and similar phones, follow given instructions:


  1. Switch off the phone first

How to Connect PC or Laptop to Internet Using Android Phone

The Android operating system supports usage of Android phones as an Internet modem for Personal computer or laptops. This facility of sharing the Internet connection of Android phone with a laptop or PC through a USB cable is called USB tethering. It supports most of major operating systems.

In Linux:


In Linux you just have to enable 'packet data' in phone first, connect phone with PC or laptop through USB data cable and check the option 'USB tethering' in Settings. It is somewhere within USB settings or Wifi and network settings. The place of this option may vary from phone to phone.In my phone (Ssmsung Galaxy S Advance, GT-I9070) , it is found as follows: Settings-> Wireless and Neetwork->Tethering and Portable Hotspot-> USB tethering. Check the option 'USB Tethering'. When 'USB tethering' is enabled, your Linux OS will automatically install the 'Remote NDIS based Internet sharing' driver. and your computer will automatically connect to internet within a few minutes.


Windows XP:


How to Hard Reset Samsung Galaxy Y or Young GT-S5360

This post is to tell you how to hard reset a Samsung Galaxy Young. Samsung Galaxy Young is an Android phone from Samsung with model number GT - S5360 which is often referred to as Galaxy Y. Before you hard reset, you should take a backup of all your important data that may be required later. You may get some help from Youtube videos demonstrating backup process.

How to Backup Samsung Galaxy Phones to Google account

How to Backup Android How to backup contacts in Samsung Galaxy Android phone

Samsung Galaxy Y GT-S5360 Android phone hard reset Young complete total full restore default factory settings GT S 5360 touch jellybean ginger bread ice cream sandwich
Samsung Galaxy Y ( Young ) GT S5360

For taking .apk backups for your applications in the phone you may use applications like 'Clean Master'. Data in your memory card and contacts in SIM card will not be lost during hard reset. All the settings will be reset to the default values because the whole operating system of the phone is refreshed. You can try the following method of hard reset even if your phone is not turning ON.

After taking backup, follow the given steps:

How to Connect Windows 8 or 8.1 Compuer to Internet by USB Tethering Android Phone

Let me tell you first that USB tethering is the process of sharing the internet connection of your Android phone with your PC or laptop through USB connection. In Windows 7, Windows Vista and Linux, USB tethering works so easily that we just have to enable packet data, connect phone through USB and enable 'USB tethering' in Settings. Above mentioned operating systems automatically install the required drivers. And within few minutes, the system will connect to Internet through your USB connected Android phone. But it is not that much easy in Windows 8 or Windows 8.1. We have to manually install the driver for the Android device to enable USB tethering. In this post, I will show you how to enable USB tethering in Windows 8 and Windows 8.1.