1 / 26

8085 Instructions

8085 Instructions. DATA TRNSFER INSTRUCTIONS(REGISTER). MOV Rd,Rs MOV M,Rs MOV Rd,M EX: MOV B,C. EX: MOV B,C. 55H. 85H. 55H. MOV Rd,M(INDIRECT). CONTENT OF HL REG B REGISTER (HL ADDRESS 2050H). EX:MOV B,M. EX:MOV B,M. H REG(20). L REG(50). 55.

lenore
Download Presentation

8085 Instructions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 8085 Instructions

  2. LAKSHMI B.E.

  3. LAKSHMI B.E.

  4. LAKSHMI B.E.

  5. LAKSHMI B.E.

  6. DATA TRNSFER INSTRUCTIONS(REGISTER) • MOV Rd,Rs MOV M,Rs MOV Rd,M • EX: MOV B,C EX: MOV B,C 55H 85H 55H LAKSHMI B.E.

  7. MOV Rd,M(INDIRECT) CONTENT OF HL REG B REGISTER (HL ADDRESS 2050H) EX:MOVB,M EX:MOVB,M H REG(20) L REG(50) 55 LAKSHMI B.E.

  8. This instruction copies the contents of the source register into the destination register; the contents of the source register are not altered. If one of the operands is a memory location, its location is specified by the contents of the HL registers. LAKSHMI B.E.

  9. IMMEDIATE • MVI Rd,DATA MVI M,DATA • MVI B,55H MVI B,55H 55H LAKSHMI B.E.

  10. MVI M,DATA IMMEDIATE DATA MEMORY HL REGISTER(2050) MVI M,55H MVI M,55H 55H H REG(20) L REG(50) LAKSHMI B.E.

  11. LDA 16 bit addr(LOAD ACCUMULATOR DIRECT) CONTENT OF MEMORY ACC HEX CODE: 3A 50 20(REVERSE ORDER) LDA 2050H LDA 2050H 55 LAKSHMI B.E.

  12. LDAX(LOAD ACCUMULATOR INDEIRECT) LDAX B/D REG.PAIR REG PAIR POINTED TO A MEMORY LOCATION CONTENT OF MEM LOCACC EX:LDAX B B REG(20) C REG(50) 55 LAKSHMI B.E.

  13. LXI (LOAD REGISTER PAIR IMMEDIATE)LXI REG PAIR,16BIT DATA EX:LXI B,2050H (20) (50) LAKSHMI B.E.

  14. LHLD(LOAD H AND L REG. PAIR DIRECT)LHLD 16 BIT ADDRESS COPY CONTENT OF MEMORY LOCATION H CONTENT OF NEXT MEMORY LOCL EX:LHLD 2050H 55 85 LAKSHMI B.E.

  15. STA 16 bit addr(STORE ACCUMULATOR DIRECT) CONTENT OF ACC MEMORY LOC HEX CODE: 32 50 20(REVERSE ORDER) STA 2050H STA 2050H 55 LAKSHMI B.E.

  16. STAX(STORE ACCUMULATOR INDEIRECT) STAX B/D REG.PAIR REG PAIR POINTED TO A MEMORY LOCATION CONTENT OF ACCMEMORY EX:STAX B 55 B REG(20) C REG(50) LAKSHMI B.E.

  17. SHLD(STORE H AND L REGPAIR DIRECT)SHLD 16 BIT ADDRESS CONTENT OF MEMORY LOCATION L CONTENT OF NEXT MEMORY LOCH EX:SHLD 2050H 55 85 LAKSHMI B.E.

  18. XCHG(EXCHANGE H AND L WITH D AND E) EX:XCHG 55 25 20 10 LAKSHMI B.E.

  19. SPHL(Copy H and L reg pair to Stack Pointer) SPHL 85 45 STACK POINTER(16)(2051) LAKSHMI B.E.

  20. XTHL(EXCHANGE H AND L WITH TOP OF STACK) XTHL 80 40 85 45 STACK POINTER(16)(2049) LAKSHMI B.E.

  21. PUSH REG.PAIR PUSH B STACK POINTER (2049) 56 67 STACK POINTER(2051) LAKSHMI B.E.

  22. P0P REG.PAIR POP H STACK POINTER (2051) 67 STACK POINTER(2049) 56 LAKSHMI B.E.

  23. PCHL(LOAD PROGRAM COUNTER WITH HL CONTENT) PCHL 67 56 LAKSHMI B.E.

  24. IN 8BITP0RT ADDRESS IN 09H 12 LAKSHMI B.E.

  25. ADD RADD M (ADD REGISTER TO ACCUMULATOR) ADD B 98 LAKSHMI B.E.

  26. ADD M 65 BA 55 20 50 LAKSHMI B.E.

More Related