文档详情

1单片机汇编指令集(国外英文资料).doc

发布:2017-06-09约2.18万字共35页下载文档
文本预览下载声明
1单片机汇编指令集(国外英文资料) The single-chip set assembly instruction set the 2009-04-09 11:00 (1) data transfer class Instructions (7 types of mnemonics) MOV: internal data register RAM and special work To transmit data from a register SFR; MOVC (Move Code) reads the data from the program store data table Send; MOVX (Move External RAM) data transfer to External RAM; XCH (Exchange) byte Exchange; The Exchange low-order Digit is a low-byte swap; PUSH onto Stack; POP from Stack; (2) arithmetic operation instruction (8 kinds of mnemonics) ADD (ADD) ADD; Add with Carry. Subtract with Borrow. Decimal Adjust; INC (Increment) + 1; DEC (Decrement) minus 1; Multiplication and Multiply Multiplication; Division, Divide, Division; (3) logical operations (10 mnemonic) ANL (AND Logic) Logic; ORL (OR Logic) Logic OR; The Logic of Exclusive OR Logic is different; The CLR (Clear) is Clear; CPL (Complement); Rotate left, Rotate left; Rotate Left throught the Carry flag is carried to the Left Move; Rotate Right moves Right; The Rotate Right throught the Carry flag has a Carry loop Moves to the right. SWAP (SWAP) 4 bits with 4 bit high; (4) control the transfer class directive (17 mnemonic) The Absolute subroutine Call subroutine is absolutely called; The Long subroutine Call subroutine Call; The Return from subroutine subroutine returns; The Return from Interruption is returned; Short Jump; Short Jump; Absolute Jump is absolutely transferable; Long Jump; Long Jump; The Compare Jump if Not Equal is Not Equal. The Decrement Jump if Not Zero is transferred after subtracting 1 ; The result of Jump if Zero is 0; The result of the Jump if Not Zero is shifted; The Jump if the Carry flag is set is moved; A Jump if Not Carry is transferred; The Jump if the Bit is set Bit is a shift; JNB (Jump if the Bit is Not set) is a 0. (Jump if the Bit is set and Clear the Bit) Remove and remove the place; NOP (No Operation) empty Operation; (5) bit operation instruction (1 kind of mnemonic) SETB (Set Bit) Bit 1. The
显示全部
相似文档