
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 474 Articles for 8085

798 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

394 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

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

587 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

356 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

372 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

359 Views
In 8085 Instruction set, CPO is a mnemonic, which stands for “Call if Parity Odd”. This instruction is a used to branch to the subroutine whose 16-bit address is provided in the instructions, only if P flag value is 0. If Z flag value is 1, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCPO LabelE43Let 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 ... Read More

509 Views
In 8085 Instruction set, CZ is a mnemonic, which stands for “Call if Zero”. This instruction is used to branch to the subroutine whose 16-bit address is provided in the instruction, only if the Z flag value is 1. If Z flag value is 0, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCZ LabelCC3Let 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

517 Views
In 8085 Instruction set, CNZ is a mnemonic, which stands for “Call if Not Zero”. This instruction is used to branch to the subroutine whose 16-bit address is provided in the instruction, only if the Z flag value is 0. If Z flag value is 1, program flow continues in the main program sequentially. It is a 3-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesCNZ LabelC43Let 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 ... Read More

815 Views
In 8085 Instruction set, CC is a mnemonic, which stands for “Call if Carry”. This instruction is used to branch to the subroutine whose 16-bit address is provided in the instruction, only if Cy flag value is 1. If Cy flag value is 0, program flow continues in the main program sequentially. It is a3-Byte instruction.Mnemonics, OperadOpcode(in HEX)BytesCC LabelDC3Let 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 operand200506MVI ... Read More