It is important to know why are we going to start coding in 8085 assembly.
8085 is not the latest microprocessor, not even the oldest one. It was neither be too popular nor be successor of any popular processor. So why peoples say to learn 8085 programming?
Here is the reason=>
Take an look at the list given here Wikipedia.
After seeing this ,it gets crystal clear that it was Intel's 4th microprocessor which came in early 1976.
The reason behind learning 8085 is that the actual assembly programming concept took its plane from here only. 8085 contains all the basics ( which is actually not at all basic) about microprocessor.
We today are seeing Pentium, Xeon, Atom, i3,i5,i7 processors but all these contain the same instructions as that of 8085 but with a lot of upgrades.
It is said in this like way that we learn firstly C than C++ than Java and than Android programming, only after that we can code candy crush/clash of clans.
=>Basics of 8085
There are some basic terms in assembly programming that needs be understood before moving ahead.I'm not going to explain hardware related terms here, my main focus will be only on software related part.
Operand-
The entities on which we perform various operations are called operands.
Opcode-
The keywords through which we perform operations on operand are called opcode.
Instructions-
The entire code containing opcode and operand is called an Instruction.
Related Hex Codes-
The instruction is firstly converted into corresponding hex codes and then it is executed by processor.
Registers-
These are the group of bits where we place our operands.
Before performing any operations we require to place one of the operands in Acc or A (Accumulator) and rest are placed in either of registers (B,C,D,E,H,L). All these are 8bit registers that is we can only keep numbers from 0-255 (or -127to128). Rest we will discuss later.
That's it!!! Nothing more is required.
No data type.
No Integer.
No floats.
No functions/methods.
Lets Code!!!
8085 is not the latest microprocessor, not even the oldest one. It was neither be too popular nor be successor of any popular processor. So why peoples say to learn 8085 programming?
Here is the reason=>
Take an look at the list given here Wikipedia.
After seeing this ,it gets crystal clear that it was Intel's 4th microprocessor which came in early 1976.
The reason behind learning 8085 is that the actual assembly programming concept took its plane from here only. 8085 contains all the basics ( which is actually not at all basic) about microprocessor.
We today are seeing Pentium, Xeon, Atom, i3,i5,i7 processors but all these contain the same instructions as that of 8085 but with a lot of upgrades.
It is said in this like way that we learn firstly C than C++ than Java and than Android programming, only after that we can code candy crush/clash of clans.
=>Basics of 8085
There are some basic terms in assembly programming that needs be understood before moving ahead.I'm not going to explain hardware related terms here, my main focus will be only on software related part.
Operand-
The entities on which we perform various operations are called operands.
Opcode-
The keywords through which we perform operations on operand are called opcode.
Instructions-
The entire code containing opcode and operand is called an Instruction.
Above is the list of all the opcodes available in 8085 with which we code in ours simulators.
Related Hex Codes-
The instruction is firstly converted into corresponding hex codes and then it is executed by processor.
Registers-
These are the group of bits where we place our operands.
Before performing any operations we require to place one of the operands in Acc or A (Accumulator) and rest are placed in either of registers (B,C,D,E,H,L). All these are 8bit registers that is we can only keep numbers from 0-255 (or -127to128). Rest we will discuss later.
That's it!!! Nothing more is required.
No data type.
No Integer.
No floats.
No functions/methods.
Lets Code!!!