Skip to main content

Posts

Showing posts from July 25, 2020

Arithmetic Group Instruction Set of 8085 Microprocessor | ADD, ADC, ACI, ADI, DAD, SUB, SBB, SUI, DCR, INR, INX, DCX instruction

Arithmetic Group of 8085 Microprocessor ADD r The data in Accumulator and entered register will get added and the result will copy to Accumulator                                      Example -  ADD B                                                     (A) + (B)  ⇢   (A)     ADD M The data in Accumulator and data in the memory location pointed by HL pair will get added and the result will copy to Accumulator.                                  Example -  ADD M                                                     (A) + ((H-L)) ⇢  (A) ADC M The data in Accumulator, data in the memory location pointed by HL pair and value of Carry Bit will get added and the result will copy to Accumulator.                                  Example -  ADC M                                                   (A) + ((H-L)) + (CS) ⇢ (A) ADC r The data in Accumulator, data in entered register and value of Carry Bit will get added and the result will copy to Accumulator.                                  Example -  

Data Transfer Group Instruction Set of 8085 Microprocessor

Data Transfer Group of 8085 Microprocessor MOV r1, r2 This means the data of register - 2 will move to register - 1                                          Example -  MOV A, B MOV r, M This means the data stored in ((H - L)) will move to specified register.                                          Example -  MOV B, M MOV M, r This means the data in specified register will move to ((H-L)).                                          Example -  MOV M, B MVI r, data This means the given data will move to specified register immediately.                                          Example -  MVI B, 05  MVI M, data  This means the given data will move to ((H-L)) pair register immediately.                                          Example -  MVI M, 05 LXI rp, data  Here 16 bit data will move to entered register pair.                                          Example -  LXI B, 2345                                                            23 ⇢  B