⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opcodes.txt

📁 this is a file about vhdl source code realtinf 8051 through 8051
💻 TXT
字号:
ADD A,Rn Add register to Accumulator 1 12  ADD A,direct Add direct byte to Accumulator 2 12ADD A,@Ri Add indirect RAM to Accumulator 1 12 ADD A,#data Add immediate data to Accumulator 2 12 ADDC A,Rn Add register to Accumulator with carry 1 12ADDC A,direct Add direct byte to Accumulator with carry 2 12ADDC A,@Ri Add indirect RAM to Accumulator with carry 1 12ADDC A,#data Add immediate data to ACC with carry 2 12SUBB A,Rn Subtract Register from A CC with borrow 1 12SUBB A,direct Subtract direct byte from A CC with borrow 2 12SUBB A,@Ri Subtract indirect RAM from A CC with borrow 1 12SUBB A,#data Subtract immediate data from A CC with borrow 2 12INC A Increment Accumulator 1 12INC Rn Increment register 1 12INC direct Increment direct byte 2 12INC @Ri Increment indirect RAM 1 12DEC A Decrement Accumulator 1 12DEC Rn Decrement Register 1 12DEC direct Decrement direct byte 2 12DEC @Ri Decrement indirect RAM 1 12INC DPTR Increment Data Pointer 1 24MUL AB Multiply A and B 1 48DIV AB Divide A by B 1 48DA A Decimal Adjust Accumulator 1 12LOGICAL OPERATIONSANL A,Rn AND Register to Accumulator 1 12ANL A,direct AND direct byte to Accumulator 2 12ANL A,@Ri AND indirect RAM to Accumulator 1 12ANL A,#data AND immediate data to Accumulator 2 12ANL direct,A AND Accumulator to direct byte 2 12ANL direct,#data AND immediate data to direct byte 3 24ORL A,Rn OR register to Accumulator 1 12ORL A,direct OR direct byte to Accumulator 2 12ORL A,@Ri OR indirect RAM to Accumulator 1 12ORL A,#data OR immediate data to Accumulator 2 12ORL direct,A OR Accumulator to direct byte 2 12ORL direct,#data OR immediate data to direct byte 3 24XRL A,Rn Exclusive-OR register to Accumulator 1 12XRL A,direct Exclusive-OR direct byte to Accumulator 2 12XRL A,@Ri Exclusive-OR indirect RAM to Accumulator 1 12XRL A,#data Exclusive-OR immediate data to Accumulator 2 12XRL direct,A Exclusive-OR Accumulator to direct byte 2 12XRL direct,#data Exclusive-OR immediate data to direct byte 3 24CLR A Clear Accumulator 1 12CPL A Complement Accumulator 1 12RL A Rotate Accumulator left 1 12RLC A Rotate Accumulator left through the carry 1 12RR A Rotate Accumulator right 1 12RRC A Rotate Accumulator right through the carry 1 12SWAP A Swap nibbles within the Accumulator 1 12DATA TRANSFERMOV A,Rn Move register to Accumulator 1 12MOV A,direct Move direct byte to Accumulator 2 12MOV A,@Ri Move indirect RAM to Accumulator 1 12MOV A,#data Move immediate data to Accumulator 2 12MOV Rn,A Move Accumulator to register 1 12MOV Rn,direct Move direct byte to register 2 24MOV RN,#data Move immediate data to register 2 12MOV direct,A Move Accumulator to direct byte 2 12MOV direct,Rn Move register to direct byte 2 24MOV direct,direct Move direct byte to direct 3 24MOV direct,@Ri Move indirect RAM to direct byte 2 24MOV direct,#data Move immediate data to direct byte 3 24MOV @Ri,A Move Accumulator to indirect RAM 1 12MOV @Ri,direct Move direct byte to indirect RAM 2 24MOV @Ri,#data Move immediate data to indirect RAM 2 12MOV DPTR,#data16 Load Data Pointer with a 16-bit constant 3 24MOVC A,@A+DPTR Move Code byte relative to DPTR to A CC 1 24MOVC A,@A+PC Move Code byte relative to PC to A CC 1 24MOVX A,@Ri Move external RAM (8-bit addr) to A CC 1 24MOVX A,@DPTR Move external RAM (16-bit addr) to A CC 1 24MOVX A,@Ri,A Move A CC to external RAM (8-bit addr) 1 24MOVX @DPTR,A Move A CC to external RAM (16-bit addr) 1 24PUSH direct Push direct byte onto stack 2 24POP direct Pop direct byte from stack 2 24XCH A,Rn Exchange register with Accumulator 1 12XCH A,direct Exchange direct byte with Accumulator 2 12XCH A,@Ri Exchange indirect RAM with Accumulator 1 12XCHD A,@Ri Exchange low-order digit indirect RAM with A CC 1 12BOOLEAN VARIABLE MANIPULATIONCLR C Clear carry 1 12CLR bit Clear direct bit 2 12SETB C Set carry 1 12SETB bit Set direct bit 2 12CPL C Complement carry 1 12CPL bit Complement direct bit 2 12ANL C,bit AND direct bit to carry 2 24ANL C,/bit AND complement of direct bit to carry 2 24ORL C,bit OR direct bit to carry 2 24ORL C,/bit OR complement of direct bit to carry 2 24MOV C,bit Move direct bit to carry 2 12MOV bit,C Move carry to direct bit 2 24JC rel Jump if carry is set 2 24JNC rel Jump if carry not set 2 24JB rel Jump if direct bit is set 3 24JNB rel Jump if direct bit is not set 3 24JBC bit,rel Jump if direct bit is set and clear bit 3 24PROGRAM BRANCHINGACALL addr11 Absolute subroutine call 2 24LCALL addr16 Long subroutine call 3 24RET Return from subroutine 1 24RETI Return from interrupt 1 24AJMP addr11 Absolute jump 2 24LJMP addr16 Long jump 3 24SJMP rel Short jump (relative addr) 2 24JMP @A+DPTR Jump indirect relative to the DPTR 1 24JZ rel Jump if Accumulator is zero 2 24JNZ rel Jump if Accumulator is not zero 2 24CJNE A,direct,rel Compare direct byte to A CC and jump if not equal 3 24CJNE A,#data,rel Compare immediate to A CC and jump if not equal 3 24CJNE RN,#data,rel Compare immediate to register and jump if not equal 3 24CJNE @Ri,#data,rel Compare immediate to indirect and jump if not equal 3 24DJNZ Rn,rel Decrement register and jump if not zero 2 24DJNZ direct,rel Decrement direct byte and jump if not zero 3 24NOP No operation 1 12

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -