Instruction Set 8085

2,141 views

Published on

Short presentation on instruction set of 8085 processor

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,141
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
32
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Page 4.13
  • 4.17
  • Page number 4.23
  • Page number 4.23
  • Page number 4.21
  • 4.17
  • Page number 4.25
  • Page number 4.25
  • Instruction Set 8085

    1. 1. <ul><li>CHAPTER 4 </li></ul><ul><li>SECTION 4.8 </li></ul>Instruction set 8085
    2. 2. <ul><li>DATA TRANSFER GROUP INSTRUCTION. </li></ul><ul><li>ARITHMETIC GROUP INSTRUCTION. </li></ul><ul><li>LOGICAL GROUP INSTRUCTION. </li></ul><ul><li>BRANCHING GROUP INSTRUCTION. </li></ul>Classification of instruction set:
    3. 3. <ul><li>1 BYTE INSTRUCTION: </li></ul><ul><ul><li>MOV C,A </li></ul></ul><ul><ul><li>ADD B </li></ul></ul><ul><li>2 BYTE INSTRUCTION: </li></ul><ul><ul><li>MVI A, 8-bit data </li></ul></ul><ul><ul><li>OUT 8-bit address </li></ul></ul><ul><li>3 BYTE INSTRUCTION </li></ul><ul><ul><li>LDA 2050 </li></ul></ul><ul><ul><li>STAX H </li></ul></ul>Length of Instructions:
    4. 4. <ul><li>SOURCE TO DESTINATION </li></ul><ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>EXAMPLES: </li></ul><ul><ul><li>LDAX Rp </li></ul></ul><ul><ul><li>STAX Rp </li></ul></ul><ul><ul><li>LXI Rp, 16 bit immediate data </li></ul></ul>Data transfer group:
    5. 5. <ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>FUNCTION </li></ul><ul><li>FLAGS AFFECTED </li></ul><ul><li>T-STATE </li></ul>LDAX Rp
    6. 6. <ul><li>LDAX B </li></ul>Before execution A 00 B 20 C 01 D E H L 2000 2001 50 2002
    7. 7. <ul><li>LDAX B </li></ul>After execution A 50 B 20 C 01 D E H L 2000 2001 50 2002
    8. 8. <ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>FUNCTION </li></ul><ul><li>FLAGS AFFECTED </li></ul><ul><li>T-STATE </li></ul>STAX Rp
    9. 9. <ul><li>STAX D </li></ul>Before execution A 20 B C D 25 E 05 H L 2504 2505 10 2506
    10. 10. <ul><li>STAX D </li></ul>After execution A 20 B C D 25 E 05 H L 2504 2505 20 2506
    11. 11. <ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>FUNCTION </li></ul><ul><li>FLAGS AFFECTED </li></ul><ul><li>T-STATE </li></ul>LXI Rp, 16 bit immediate data
    12. 12. <ul><li>LXI B, 1507H </li></ul>Before execution A B 00 C 00 D E H L 2504 2505 2506
    13. 13. <ul><li>LXI B, 1507H </li></ul>After execution A B 15 C 07 D E H L 2504 2505 2506
    14. 14. <ul><li>PERFORMS ARITHMETIC OPERATIONS. </li></ul><ul><li>LENGTH OF INSTRUCTION. </li></ul><ul><li>EXAMPLES: </li></ul><ul><ul><li>ADD Rs </li></ul></ul><ul><ul><li>INR R </li></ul></ul><ul><ul><li>DCR R </li></ul></ul>Arithmetic group
    15. 15. <ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>FUNCTION </li></ul><ul><li>FLAGS AFFECTED </li></ul><ul><li>T-STATE </li></ul>ADD Rs
    16. 16. <ul><li>ADD B </li></ul>Before execution A 93 B B C 7 D E H L 2504 2505 2506
    17. 17. <ul><li>ADD B </li></ul>After execution A 4A B B C 7 D E H L 2504 2505 2506
    18. 18. Procedure
    19. 19. <ul><li>LENGTH OF INSTRUCTION </li></ul><ul><li>FUNCTION </li></ul><ul><li>FLAGS AFFECTED </li></ul><ul><li>T-STATE </li></ul>INR R
    20. 20. <ul><li>INR R </li></ul>Before execution A 93 B C D B E 7 H L 2504 2505 2506

    ×