8051单片机汇编语言16进制代码

更新时间:2023-06-08 04:02:01 阅读量: 实用文档 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

Opcodes

Thefollowingtableliststhe8051instructionsbyHEXcode.

HexCodeBytes0010120230310410520610710810910A10B10C10D10E10F11031121231311411521611711811911A11B11C11D11E11F120321222123124

2

MnemonicOperandsaddr11LJMPaddr16AAdirect@R0INC@R1R0R1R2R3INCR4R5R6R7bit,offsetACALLaddr11addr16AAdirectDEC@R0@R1R0R1R2DECR3R4R5R6R7JBbit,offsetaddr11

AA,#immed

HexCodeBytes80

28128228318418538628728828928A28B28C28D28E28F29039129229319429529619719819919A19B19C19D19E19F1A02A12A2

2A31A4

1

MnemonicOperandsoffsetaddr11ANLC,bitA,@A+PCABdirect,directdirect,@R0MOVdirect,@R1direct,R0direct,R1direct,R2direct,R3MOVdirect,R4direct,R5direct,R6direct,R7DPTR,#immedACALLaddr11bit,CA,@A+DPTRA,#immedA,directSUBBA,@R0A,@R1A,R0A,R1A,R2SUBBA,R3A,R4A,R5A,R6A,R7ORLC,/bitaddr11C,bitDPTRAB

2612712812912A12B12C12D12E12F13033123213313423523613713813913A13B13C13D13E13F14024124224334424524614714814914A14B14C14D14E14F150

2

ADDA,@R0A,@R1A,R0A,R1A,R2ADDA,R3A,R4A,R5A,R6A,R7JNBbit,offsetaddr11

AA,#immedADDCA,directA,@R0A,@R1A,R0A,R1ADDCA,R2A,R3A,R4A,R5A,R6ADDCA,R7offsetaddr11direct,Adirect,#immedORLA,#immedA,directA,@R0A,@R1A,R0ORLA,R1A,R2A,R3A,R4A,R5ORLA,R6A,R7offset

A62A72A82A92AA2AB2AC2AD2AE2AF2B02B12B2

2B31B43B53B6

3

B73B83B93BA3BB3BC3BD3BE3BF3C02C12C22C31C41C52C61C71C81C91CA1CB1CC1CD1CE

1

MOV@R0,direct@R1,directR0,directR1,directR2,directMOVR3,directR4,directR5,directR6,directR7,directANLC,/bitaddr11bitC

A,#immed,offsetCJNEA,direct,offsetCJNE

@R0,#immed,

offset@R1,#immed,offset

CJNER0,#immed,offsetR1,#immed,offsetR2,#immed,offsetR3,#immed,offsetR4,#immed,offsetCJNER5,#immed,offsetR6,#immed,offsetR7,#immed,offsetdirectaddr11CLRbitCAA,directA,@R0XCHA,@R1A,R0A,R1A,R2A,R3XCHA,R4A,R5A,R6

5225335425525615715815915A15B15C15D15E15F16026126226336426526616716816916A16B16C16D16E16F17027127227317427537627727827927A27B27C

2

ANLdirect,Adirect,#immedA,#immedA,directA,@R0ANLA,@R1A,R0A,R1A,R2A,R3ANLA,R4A,R5A,R6A,R7offsetAJMPaddr11direct,Adirect,#immedA,#immedA,directXRLA,@R0A,@R1A,R0A,R1A,R2XRLA,R3A,R4A,R5A,R6A,R7JNZoffsetaddr11C,bit@A+DPTRA,#immedMOVdirect,#immed@R0,#immed@R1,#immedR0,#immedR1,#immedMOVR2,#immedR3,#immedR4,#immed

D02D12D22D31D41D53D61D71D82D92DA2DB2DC2DD2DE2DF2E01E12E21E31E41E52E61E71E81E91EA1EB1EC1ED1EE1EF1F01F12F21F31F41F52F61F71F81F91FA

1

POPdirectaddr11bitCA

DJNZdirect,offsetA,@R0A,@R1R0,offsetR1,offsetDJNZR2,offsetR3,offsetR4,offsetR5,offsetR6,offsetDJNZR7,offsetA,@DPTRaddr11A,@R0A,@R1CLRAA,directA,@R0A,@R1A,R0MOVA,R1A,R2A,R3A,R4A,R5MOVA,R6A,R7@DPTR,Aaddr11@R0,AMOVX@R1,AAdirect,A@R0,A@R1,AMOVR0,AR1,AR2,A

7D7E7F

222

MOVR5,#immedR6,#immedR7,#immed

FBFCFDFEFF

11111

MOVR3,AR4,AR5,AR6,AR7,A

AllmnemonicsCopyright©1980IntelCorporation.

Copyright©Keil,AnARMCompany.Allrightsreserved.

本文来源:https://www.bwwdw.com/article/rld1.html

Top