Logical PDF
Logical PDF
Logical PDF
Programming concept
Instruction set of 8085
✓Five type of instructions
1. Data transfer instructions
2. Arithmetic instructions
3. Logic instructions
4. Branch instructions
5. Machine control instructions
Kantaria Mehul
Logical instructions
OPCODE OPERAND DISCRIPTION
ANI 8-bit data AND operation between content of A & 8-bit data
ANI 11H : A (AND) 11 → A
CY =0 & AC=1
Kantaria Mehul
Logical instructions
OPCODE OPERAND DISCRIPTION
XRI 8-bit data X-OR operation between content of A & 8-bit data
XRI 11H : A (X-OR) 11 → A
CY =0
Kantaria Mehul
Logical instructions
✓Operations
✓ANA : AND AND operation between A & Register
✓ANI : AND immediate AND operation between A & 8-bit data
✓ORA : OR OR operation between A & Register
✓ORI : OR immediate OR operation between A & 8-bit data
✓XRA : X-OR X-OR operation between A & Register
✓XRI : X-OR immediate X-OR operation between A & 8-bit data
✓CMA : Complement A 1’s complement of content of accumulator
✓CMP : Compare with accumulator
✓CPI : Compare immediate with accumulator
Kantaria Mehul