Return if Parity is Even (RPE) in 8085 Microprocessor

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

270 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 Carry (RC) in 8085 Microprocessor

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

822 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 Zero (RNZ) Result in 8085 Microprocessor

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

404 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 Zero Result (RZ) in 8085 Microprocessor

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

475 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 Parity Odd (RPO) in 8085 Microprocessor

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

277 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 Positive RP in 8085 Microprocessor

Arjun Thakur
Updated on 27-Jun-2020 14:14:49

432 Views

In 8085 Instruction set, RP is a mnemonic, which stands for “Return if Positive”. This instruction is used to return to the main program, only if S flag value is 0. If S flag value is 1, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRNZF01Let 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

8085 Block Movement with Overlap

Arjun Thakur
Updated on 27-Jun-2020 14:04:56

2K+ Views

In this program, we will see how to move blocks of data from one place to another.Problem StatementWrite 8085 Assembly language program to move a data block. The blocks are assumed to be overlapping. The block size is given, the block is starting from Xand we have to move it to the location Y.DiscussionThe overlapping block movement is tricky; we need to use some special tricks to move a block in overlapping address locations. Here the block is starting at position X, we have to move it to position Y. The location Y is inside the block. So Y < ... Read More

8085 Program to Check the Fourth Bit of a Byte

George John
Updated on 27-Jun-2020 14:02:42

2K+ Views

In this program, we will see how to check the 4th bit of an 8-bit number.Problem StatementWrite 8085 Assembly language program to check whether the fourth bit of a byte is 0 or 1.When it is 0, store 00H at any specified location, and when it is 1, store FFH at the specified location.DiscussionWe are considering the 8-bit number, and storing 00H or FFH by checking the 4th bit on the number from left. The logic behind it is very simple. We are just performing bit-wise and operation on the given data with 08H. If the result is non-zero, then the 4th ... Read More

Ensure Working Women's Safety on Premises

Rashmi Iyer
Updated on 27-Jun-2020 14:02:08

208 Views

Women in today’s world are taking major positions in different sectors and are performing extraordinarily well in their work roles. The contribution of women is extremely crucial for the inclusive economic development of the country. The principle of Gender Equality is enshrined in our constitution and the feminist movement in the late 1970s strengthened the concept. If we want women to succeed in their work lives, it is important to create a safe atmosphere for a woman to give a holistic contribution. Let's know how:Infrastructure FacilitiesIt is extremely important to keep the infrastructure facilities extremely strong in any workplace. Proper ... Read More

Multiply Two 8-Bit Numbers in 8085 Assembly Language

Chandu yadav
Updated on 27-Jun-2020 14:01:18

1K+ Views

In this program, we will see how to multiply two 8-bit numbers using 8085 microprocessor.Problem StatementWrite 8085 Assembly language program to multiply two 8-bit numbers stored in a memory location and store the 16-bit results into the memory.DiscussionThe 8085 has no multiplication operation. To get the result of multiplication, we should use the repetitive addition method. After multiplying two 8-bit numbers it may generate 1-byte or 2-byte numbers, so we are using two registers to hold the result.We are saving the data at location 8000H and 8001H. The result is storing at location 8050H and 8051H.InputAddressData......8000DC8001AC......Flow DiagramProgramAddressHEX CodesLabelsMnemonicsCommentsF00021, 00, 80LXI H, ... Read More

Advertisements