INR, INX, DCR, DCX, DAA instruction
11. INR: - The contents of the designated register or memory) are incremented by 1 and the result is stored in the same place. If the operand is a memory location, its location is specified by the contents of the HL registers.
Eg: -INR B( the content of register B is incremented by 1.
INR M( the content of memory location pointed by HL pair in incremented by 1)
12. INX: - Increment register pair by 1.
Eg: INX H (It means the location pointed by the HL pair is incremented by 1)
13.DCR: - The contents of the designated register or memory are M decremented by 1 and the
Tag :
Programming
SUB, SBB, SUI, SBI, instruction
7. SUB: - substract the content of a register or a memory location form the content of accumulator and the result is stored in the accumulator.
Eg: - SUB B( it substracts the content of B register from the content of the accumulator.
SUB M( it substracts the content of memory location pointed by HL pair from the content of
Eg: - SUB B( it substracts the content of B register from the content of the accumulator.
SUB M( it substracts the content of memory location pointed by HL pair from the content of
Tag :
Programming
LXI, DAD, instruction
5. LXI: Load register Pair immediate
Eg:- LXI H, 2030H (This instruction loads the memory address in HL register, here it works as memory pointer)
Tag :
Programming
Arithmetic Instruction In 8085, ADD, ADC, ADI, ACI
There are some of the important instructions in 8085 microprocessor.
1. ADD: - The content of operand are added to the content of the accumulator and the result is stored in Accumulator.
Eg- ADD B (it adds the content of accumulator to the content of the register B)
ADD M (if content is stored in memory location the it is added with the content stored in accumulator)
2. ADC: -
Tag :
Programming