Seznam instrukci 8051

Z MediaWiki SPŠ a VOŠ Písek
Verze z 15. 4. 2010, 20:18, kterou vytvořil JA (diskuse | příspěvky) (Založena nová stránka: Seznam instrukci 8051 obj. code menmonic operand byte cykl ------------------------------------------ 11xx ACALL adr11 2 2 31xx …)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Skočit na navigaci Skočit na vyhledávání

Seznam instrukci 8051

 obj. code  menmonic  operand     byte  cykl
------------------------------------------
 11xx        ACALL     adr11        2    2
 31xx        ACALL     adr11        2    2
 51xx        ACALL     adr11        2    2
 71xx        ACALL     adr11        2    2
 91xx        ACALL     adr11        2    2
 B1xx        ACALL     adr11        2    2
 D1xx        ACALL     adr11        2    2
 F1xx        ACALL     adr11        2    2
 28          ADD       A,R0         1    1
 29          ADD       A,R1         1    1
 2A          ADD       A,R2         1    1
 2B          ADD       A,R3         1    1
 2C          ADD       A,R4         1    1
 2D          ADD       A,R5         1    1
 2E          ADD       A,R6         1    1
 2F          ADD       A,R7         1    1
 25xx        ADD       A,direct     2    1
 26          ADD       A,@R0        1    1
 27          ADD       A,@R1        1    1
 24xx        ADD       A,#DATA      2    1
 38          ADDC      A,R0         1    1
 39          ADDC      A,R1         1    1
 3A          ADDC      A,R3         1    1
 3B          ADDC      A,R2         1    1
 3C          ADDC      A,R4         1    1
 3D          ADDC      A,R5         1    1
 3E          ADDC      A,R6         1    1
 3F          ADDC      A,R7         1    1
 35xx        ADDC      A,direct     2    1
 36          ADDC      A,@R0        1    1
 37          ADDC      A,@R1        1    1
 34xx        ADDC      A,#DATA      2    1
 01xx        AJMP      adr11        2    2
 21xx        AJMP      adr11        2    2
 41xx        AJMP      adr11        2    2
 61xx        AJMP      adr11        2    2
 81xx        AJMP      adr11        2    2
 A1xx        AJMP      adr11        2    2
 C1xx        AJMP      adr11        2    2
 E1xx        AJMP      adr11        2    2
 58          ANL       A,R0         1    1
 59          ANL       A,R1         1    1
 5A          ANL       A,R2         1    1
 5B          ANL       A,R3         1    1
 5C          ANL       A,R4         1    1
 5D          ANL       A,R5         1    1
 5E          ANL       A,R6         1    1
 5F          ANL       A,R7         1    1
 55xx        ANL       A,direct     2    1
 56          ANL       A,@R0        1    1
 57          ANL       A,@R1        1    1
 54xx        ANL       A,#DATA      2    1
 52xx        ANL       direct,A     2    1
 53xxxx      ANL       direct,#data 3    2
 82xx        ANL       C,bit        2    2
 B0xx        ANL       C,/bit       2    2
 B5xxxx      CJNE      A,direct,rel 3    2
 B4xxxx      CJNE      A,#data,rel  3    2
 B8xxxx      CJNE      R0,#data,rel 3    2
 B9xxxx      CJNE      R1,#data,rel 3    2
 BAxxxx      CJNE      R2,#data,rel 3    2
 BBxxxx      CJNE      R3,#data,rel 3    2
 BCxxxx      CJNE      R4,#data,rel 3    2
 BDxxxx      CJNE      R5,#data,rel 3    2
 BExxxx      CJNE      R6,#data,rel 3    2
 BFxxxx      CJNE      R7,#data,rel 3    2
 E4          CLR       A            1    1
 C2xx        CLR       bit          2    1
 C3          CLR       C            1    1
 F4          CPL       A            1    1
 B2xx        CPL       bit          2    1
 B3          CPL       C            1    1
 D4          DA        A            1    1
 14          DEC       A            1    1
 15xx        DEC       direct       2    1
 18          DEC       R0           1    1
 19          DEC       R1           1    1
 1A          DEC       R2           1    1
 1B          DEC       R3           1    1
 1C          DEC       R4           1    1
 1D          DEC       R5           1    1
 1E          DEC       R6           1    1
 1F          DEC       R7           1    1
 16          DEC       @R0          1    1
 17          DEC       @R1          1    1
 84          DIV       AB           1    4
 D5xxxx      DJNZ      direct,rel   3    2
 D8xx        DJNZ      R0,rel       2    2
 D9xx        DJNZ      R1,rel       2    2
 DAxx        DJNZ      R2,rel       2    2
 DBxx        DJNZ      R3,rel       2    2
 DCxx        DJNZ      R4,rel       2    2
 DDxx        DJNZ      R5,rel       2    2
 DExx        DJNZ      R6,rel       2    2
 DFxx        DJNZ      R7,rel       2    2
 04          INC       A            1    1
 05xx        INC       direct       2    1
 A3          INC       DPTR         1    2
 08          INC       R0           1    1
 09          INC       R1           1    1
 0A          INC       R2           1    1
 0B          INC       R3           1    1
 0C          INC       R4           1    1
 0D          INC       R5           1    1
 0E          INC       R6           1    1
 0F          INC       R7           1    1
 06          INC       @R0          1    1
 07          INC       @R1          1    1
 20xxxx      JB        bit,rel      3    2
 10xxxx      JBC       bit,rel      3    2
 40XX        JC        rel          2    2
 73          JMP       @A+DPTR      1    2
 30xxxx      JNB       bit,rel      3    2
 50xx        JNC       rel          2    2
 70xx        JNZ       rel          2    2
 60xx        JZ        rel          2    2
 12xxxx      LCALL     adr16        3    2
 02xxxx      LJMP      adr16        3    2
 E8          MOV       A,R0         1    1
 E9          MOV       A,R1         1    1
 EA          MOV       A,R2         1    1
 EB          MOV       A,R3         1    1
 EC          MOV       A,R4         1    1
 ED          MOV       A,R5         1    1
 EE          MOV       A,R6         1    1
 EF          MOV       A,R7         1    1
 E5xx        MOV       A,direct     2    1
 E6          MOV       A,@R0        1    1
 E7          MOV       A,@R1        1    1
 74xx        MOV       A,#DATA      2    1
 A2xx        MOV       C,bit        2    1
 92xx        MOV       bit,C        2    2
 F8          MOV       R0,A         1    1
 F9          MOV       R1,A         1    1
 FA          MOV       R2,A         1    1
 FB          MOV       R3,A         1    1
 FC          MOV       R4,A         1    1
 FD          MOV       R5,A         1    1
 FE          MOV       R6,A         1    1
 FF          MOV       R7,A         1    1
 A8xx        MOV       R0,direct    2    2
 A9xx        MOV       R1,direct    2    2
 AAxx        MOV       R2,direct    2    2
 ABxx        MOV       R3,direct    2    2
 ACxx        MOV       R4,direct    2    2
 ADxx        MOV       R5,direct    2    2
 AExx        MOV       R6,direct    2    2
 AFxx        MOV       R7,direct    2    2
 78xx        MOV       R0,#data     2    1
 79xx        MOV       R1,#data     2    1
 7Axx        MOV       R2,#data     2    1
 7Bxx        MOV       R3,#data     2    1
 7Cxx        MOV       R4,#data     2    1
 7Dxx        MOV       R5,#data     2    1
 7Exx        MOV       R6,#data     2    1
 7Fxx        MOV       R7,#data     2    1
 F5xx        MOV       direct,A     2    1
 88xx        MOV       direct,R0    2    2
 89xx        MOV       direct,R1    2    2
 8Axx        MOV       direct,R2    2    2
 8Bxx        MOV       direct,R3    2    2
 8Cxx        MOV       direct,R4    2    2
 8Dxx        MOV       direct,R5    2    2
 8Exx        MOV       direct,R6    2    2
 8Fxx        MOV       direct,R7    2    2
 85xxxx      MOV       direct,direct 3   2
 86xx        MOV       direct,@R0   2    2
 87xx        MOV       direct,@R1   2    2
 75xxxx      MOV       direct,#data 3    2
 F6          MOV       @R0,A        1    1
 F7          MOV       @R1,A        1    1
 A6xx        MOV       @R0,direct   2    2
 A7xx        MOV       @R1,direct   2    2
 76xx        MOV       @R0,#data    2    1
 77xx        MOV       @R1,#data    2    1
 90xxxx      MOV       DPTR,#data16 3    2
 93          MOVC      A,@A+DPTR    1    2
 83          MOVC      A,@A+PC      1    2
 E0          MOVX      A,@DPTR      1    2
 E2          MOVX      A,@R0        1    2
 E3          MOVX      A,@R1        1    2
 F0          MOVX      @DPTR,A      1    2
 F2          MOVX      @R0,A        1    2
 F3          MOVX      @R1,A        1    2
 A4          MUL       AB           1    4
 00          NOP                    1    1
 48          ORL       A,R0         1    1
 49          ORL       A,R1         1    1
 4A          ORL       A,R2         1    1
 4B          ORL       A,R3         1    1
 4C          ORL       A,R4         1    1
 4D          ORL       A,R5         1    1
 4E          ORL       A,R6         1    1
 4F          ORL       A,R7         1    1
 45xx        ORL       A,direct     2    1
 46          ORL       A,@R0        1    1
 47          ORL       A,@R1        1    1
 44xx        ORL       A,#DATA      2    1
 42xx        ORL       direct,A     2    1
 43xxxx      ORL       direct,#data 3    2
 72xx        ORL       C,bit        2    2
 A0xx        ORL       C,/bit       2    2
 D0xx        POP       direct       2    2
 C0xx        PUSH      direct       2    2
 22          RET                    1    2
 32          RETI                   1    2
 23          RL        A            1    1
 33          RLC       A            1    1
 03          RR        A            1    1
 13          RRC       A            1    1
 D2xx        SETB      bit          2    1
 D3          SETB      C            1    1
 98          SUBB      A,R0         1    1
 99          SUBB      A,R1         1    1
 9A          SUBB      A,R2         1    1
 9B          SUBB      A,R3         1    1
 9C          SUBB      A,R4         1    1
 9D          SUBB      A,R5         1    1
 9E          SUBB      A,R6         1    1
 9F          SUBB      A,R7         1    1
 95xx        SUBB      A,direct     2    1
 96          SUBB      A,@R0        1    1
 97          SUBB      A,@R1        1    1
 94xx        SUBB      A,#DATA      2    1
 C4          SWAP      A            1    1
 C5xx        XCH       A,direct     2    1
 C8          XCH       A,R0         1    1
 C9          XCH       A,R1         1    1
 CA          XCH       A,R2         1    1
 CB          XCH       A,R3         1    1
 CC          XCH       A,R4         1    1
 CD          XCH       A,R5         1    1
 CE          XCH       A,R6         1    1
 CF          XCH       A,R7         1    1
 C6          XCH       A,@R0        1    1
 C7          XCH       A,@R1        1    1
 62          XCHD      A,@R0        1    1
 63          XCHD      A,@R1        1    1 
 68          XRL       A,R0         1    1
 69          XRL       A,R1         1    1
 6A          XRL       A,R2         1    1
 6B          XRL       A,R3         1    1
 6C          XRL       A,R4         1    1
 6D          XRL       A,R5         1    1
 6E          XRL       A,R6         1    1
 6F          XRL       A,R7         1    1
 65xx        XRL       A,direct     2    1
 66          XRL       A,@R0        1    1
 67          XRL       A,@R1        1    1
 64xx        XRL       A,#DATA      2    1
 62xx        XRL       direct,A     2    1
 63xxxx      XRL       direct,#data 3    2