Found 558 Articles for Microprocessor

Instruction type ANI d8 in 8085 Microprocessor

Samual Sam
Updated on 30-Jul-2019 22:30:23

5K+ Views

In 8085 Instruction set, ANI is a mnemonic, which stands for “ANd Immediate with Accumulator” and “d8” stands for any 8-bit or 1-Bytedata. This instruction is used to AND 8-bit immediate data with the Accumulator’s content. The result of this ANDingoperation will be stored in the Accumulator itself over writing its previous content. As it is an arithmetic operation do S, P, and Z flags are affected based on the result. Cy is reset to 0, and AC is set to 1. It occupies 2-Bytes in the memory. Mnemonics, Operand Opcode(in HEX) Bytes ANI Data E6 ... Read More

Instruction type ANA R in 8085 Microprocessor

karthikeya Boyini
Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction set, ANA is a mnemonic, which stands for “ANd Accumulator” and “R” stands for any one of the following registers, or memory location M pointed by HL pair. R = A, B, C, D, E, H, L, or M This instruction is used to AND contents of R with Accumulator’s content. The result thus produced for this AND operation will be stored back in to the Accumulator over writing its previous content. As R can have any of the eight values, there are eight opcodes for this type of instruction. It occupies only 1-Byte in ... Read More

Instruction type DAD rp in 8085 Microprocessor

Samual Sam
Updated on 30-Jul-2019 22:30:23

13K+ Views

In spite of the fact that 8085 is an 8-bit microprocessor, but there are some instructions are there available in the 8085 instruction set which can do 16-bit additions also. As the 8085 internal architecture is only 8-bits, this instruction easily takes double the time needed to add two 8-bit numbers. Here, DAD is a mnemonic, which stands for Double ADd and also rp stands for any one of the following register pairs as mentioned below. rp = BC, DE, or HL As rp can have any of the three values, there are three opcodes for this type ... Read More

Instruction type DCX rp in 8085 Microprocessor

karthikeya Boyini
Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction set, DCX is a mnemonic that stands for “DeCrementeXtended register” and rp stands for register pair. And it can be any one of the following register pairs − rp = BC, DE, or HL This instruction will be used to subtract 1 from the present content of the rp. And thus the result of the decremented content will remain stored in rp itself. Though, it is an arithmetic instruction, note that flags are not at all affected by the execution of this instruction. A register pair is generally used to store 16-bit memory address. If ... Read More

Instruction type INX rp in 8085 Microprocessor

Samual Sam
Updated on 30-Jul-2019 22:30:23

7K+ Views

In 8085 Instruction set, INX is a mnemonic that stands for “INcrementeXtended register” and rp stands for register pair. And it can be any one of the following register pairs. rp = BC, DE, or HL This instruction will be used to add 1 to the present content of the rp. And thus the result of the incremented content will remain stored in rp itself. Though it is an arithmetic instruction, note that, flag bits are not at all affected by the execution of this instruction. A register pair is generally used to store 16-bit memory address. If ... Read More

Instruction type SBI d8 in 8085 Microprocessor

karthikeya Boyini
Updated on 30-Jul-2019 22:30:23

1K+ Views

In 8085 Instruction set, SBI is a mnemonic that stands for “Subtract with Borrow Immediate from Accumulator” and here d8 stands for any 8-bit data as operand. This instruction is used to subtract 8-bit immediate data from the Accumulator along with the carry (borrow) value. The result of subtraction will be stored in the Accumulator. As this is an arithmetic instruction, so the flags are affected based on the result produced. It occupies 2 consecutive Bytes in memory. Mnemonics, Operand Opcode(in HEX) Bytes SBI Data DE 2 Let us consider SBI 13H as a ... Read More

Instruction type SBB R in 8085 Microprocessor

Samual Sam
Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction set, SBB R is mnemonic used for multi-Byte subtraction. Let us consider the following example on such subtraction In this above example, the subtraction of 62H and F1H will result in 71H with a borrow of 1. Next, we have to subtract 44H and 13H along with this borrow value of 1. In the above tracing we have shown you how the internal calculations are being done. Now in 8085, to facilitate such an operation, SBB instruction has been provided to subtract two numbers along with the borrow value. SBB is a mnemonic that stands for ... Read More

Instruction type DCR R in 8085 Microprocessor

karthikeya Boyini
Updated on 30-Jul-2019 22:30:23

5K+ Views

In 8085 Instruction set, DCR is a mnemonic, which stands for ‘DeCRement’ and ‘R’ stands for any of the following registers, or memory location M pointed by HL pair. R = A, B, C, D, E, H, L, or M This instruction is used to decrease the content of register R. Also we can say it will subtract 1 from the register R content. And the decremented value will be stored on to the register R itself. As it is an arithmetic instruction, so all flags, except Cy flag, are affected depending on the result. In those assembly ... Read More

Instruction type SUI d8 in 8085 Microprocessor

Samual Sam
Updated on 30-Jul-2019 22:30:23

2K+ Views

In 8085 Instruction set, SUI is a mnemonic that stands for ‘SUbtract Immediate from Accumulator and here d8 stands for any 8-bit or 1-Byte data. This instruction is used to subtract 8-bit immediate data from the Accumulator. The result of the subtraction will be stored in the Accumulator over witting its previous content. As it is an arithmetic instruction, so flag bits are affected based on the result. It is a 2-Byte instruction and occupies 2-Bytes in memory. Mnemonics, Operand Opcode(in HEX) Bytes SUI Data D6 2 When we issue SUI d8 instruction then ... Read More

Instruction type SUB R in 8085 Microprocessor

karthikeya Boyini
Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction, SUB is a mnemonic that stands for ‘SUBtract contents of R from Accumulator. Here R stands for any of the following registers, or memory location M pointed by HL pair. R = A, B, C, D, E, H, L, or M Mnemonics, Operand Opcode(in HEX) Bytes SUB A 97 1 SUB B 90 1 SUB C 91 1 SUB D 92 1 SUB E 93 1 SUB H 94 1 SUB L 95 1 SUB M ... Read More

Advertisements