Found 558 Articles for Microprocessor

Return if parity even (RPE) in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 14:17:04

155 Views

In 8085 Instruction set, RPE is a mnemonic, which stands for “Return if Parity Even”. This instruction is used to return to the main program, only if P flag value is 1. If the P flag value is 0, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRPEE81Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling ... Read More

Return if parity odd (RPO) in 8085 Microprocessor

George John
Updated on 27-Jun-2020 14:15:27

156 Views

In 8085 Instruction set, RPO is a mnemonic, which stands for “Return if Parity Odd”. This instruction is used to return to the main program, only if Z flag value is 0. If Z flag value is 1, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRNZE01Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling ... Read More

Return if zero result (RZ) in 8085 Microprocessor

Ankith Reddy
Updated on 27-Jun-2020 14:16:09

307 Views

In 8085 Instruction set, RZis a mnemonic, which stands for “Return if Zero”. This instruction is used to return to the main program, only if the Z flag value is 1. If Z flag value is 0, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRZC81Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling the ... Read More

Return if not zero (RNZ) result in 8085 Microprocessor

Arjun Thakur
Updated on 27-Jun-2020 14:16:29

219 Views

In 8085 Instruction set, RNZ is a mnemonic, which stands for “Return if Not Zero”. This instruction is used to return to the main program, only if the Z flag value is 0. If Z flag value is 1, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode (in HEX)BytesRNZC01Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the ... Read More

Return if carry (RC) in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 14:16:45

554 Views

In 8085 Instruction set, RC is a mnemonic, which stands for “Return if Carry”. This instruction is used to return to the main program, only if Cy flag value is 1. If Cy flag value is 0, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRCD81Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling the ... Read More

Return if not carry (RNC) in 8085 Microprocessor

George John
Updated on 27-Jun-2020 14:18:23

248 Views

In 8085 Instruction set, RNC is a mnemonic, which stands for “Return if Not Carry”. This instruction is used to return to the main program, only if Cy flag value is 0. If Cy flag value is 1, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRNCD01Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling ... Read More

Conditional return instructions in 8085 Microprocessor

Ankith Reddy
Updated on 27-Jun-2020 14:18:35

2K+ Views

In 8085 Instruction set, depending upon one of the flag bit values (excluding AC flag bit), the conditional return instructions will branch the control to the next instruction of the call statement by popping out two return address Bytes (High-Byte and Low-Byte) from the top of the stack. The branch takes place based on the value of Cy flag, Z flag, P flag, or S flag. There is no conditional return instruction based on the value of AC (Auxiliary Carry) flag bit. This is because generally, no one is interested in branching back from the subroutine based on this flag ... Read More

Call if minus (CM) in 8085 Microprocessor

Arjun Thakur
Updated on 27-Jun-2020 14:18:48

384 Views

In 8085 Instruction set, CM is a mnemonic, which stands for “Call if Minus”. This instruction is used to branch to the subroutine whose 16-bit address is provided in the instruction, only if S flag value is 1. If S flag value is 0, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCM LabelFC3Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address20033EMVI A, 40HA ← 40H, Initializing the Accumulator with initial value 40H20044040H as ... Read More

Call if positive (CP) in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 14:19:20

231 Views

In 8085 Instruction set, CP is a mnemonic, which stands for “Call if Positive”. This instruction is used to branch to the subroutine whose 16-bit address is provided in the instruction, only if S flag value is 0. If S flag value is 1, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCP LabelF43Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H. Initializing the SP200100Low order Byte of the address200250High order Byte of the address20033EMVI A, 40HA ← 40H, Initializing the Accumulator with initial value 40H20044040H ... Read More

Call if parity even (CPE) in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 14:24:25

223 Views

In 8085 Instruction set, CPE is a mnemonic, which stands for “Call if Parity Even”. This instruction is a used to branch to the subroutine whose 16-bit address is provided in the instruction, only if the P flag value is 1. If the P flag value is 0, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCPE LabelEC3Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address20033EMVI A, 40HA ← 40H, Initializing the Accumulator with ... Read More

Advertisements