WAP to store any 8-bit data in any general purpose register using immediate addressing nodes
If you are a student of Computer Science or Computer Application then probably in your 1st or 2nd year of your course, you will come across Assembly Programming or Coal Programming language, which basically is based on 8085 or 8086 microprocessor.
Now for those of you who don’t have knowledge of this processors, here a brief introduction. It’s a 16-bit microprocessor, which was launched by Intel back in 1977. The programs that we will do will be done in an 8085 kit or on simulators that you can download and use it on your computers.
Why do we need to study 8085 microprocessor and its instructions?
To start off, the 8085 processor is an obsolete microprocessor. The addressing capacity of 8085 microprocessor is 64K, which requires +5 V power supply to run, and 3 MHz single phase clock. Now, the main reason why students still study 8085 microprocessor is because 8085 and 8086 are considered the best processors when it comes to designing modern day processors.
If you are interested in learning 8085 programming then please do go through this series, as we are going to upload new-new 8085 programs every week, which will help and guide you to learn the basics of 8085 programming.
So, here let’s begin with a simple small program using which we will store an 8-bit data in any General Purpose Register using Immediate Addressing Mode.
Now, if you don’t have any idea about the various types of instructions and addressing modes that 8085 microprocessor support then you will get stuck, so it will be better if you first go through the various types of instructions and addressing modes that 8085 supports.
Let, 8 bit data be ACH, and the GPR be C
MVI C, ACH
|Memory Location||OPCODE||Operand||Label||Hex Code|