MSP430之instruction之Indirect Autoincrement Mode

Assembler Code       Content of ROM
MOV @R10+,0(R11)       MOV @R10+,0(R11)

Length:   One or two words

Operation:   

  Move the contents of the source address (contents of R10) to the destination address (contents of R11). Register R10 is incremented by 1 for a byte operation, or 2 for a word operation after the fetch; it points to the next address without any overhead. This is useful for table processing.

Comment:

   Valid only for source operand. The substitute for destination operand is 0(Rd) plus second instruction INCD Rd.

Example:   MOV @R10+,0(R11)

时间: 2024-10-07 22:52:13

MSP430之instruction之Indirect Autoincrement Mode的相关文章

MSP430之instruction之JUMP

JMP  Jump unconditionally Syntax   JMP  label Operation PC + 2 × offset −> PC Description The 10-bit signed offset contained in the instruction LSBs is added to the program counter. Status Bits Status bits are not affected. Hint: This one-word instru

MSP430之instruction之MOV

MOV[.W]   Move source to destinationMOV.B Move source to destination Syntax MOV  src,dst  or       MOV.W  src,dst MOV.B src,dst Operation src −> dst Description The source operand is moved to the destination.The source operand is not affected. The pr

MSP430之instruction之CMP

CMP[.W]  Compare source and destinationCMP.B  Compare source and destination Syntax  CMP src,dst or CMP.W src,dst CMP.B  src,dst Operation dst + .NOT.src + 1 or (dst − src) Description The source operand is subtracted from the destination operand. Th

Linking code for an enhanced application binary interface (ABI) with decode time instruction optimization

A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable

Method and apparatus for transitioning between instruction sets in a processor

A data processor (104) is described. The data processor (104) is capable of decoding and executing a first instruction (212) of a first instruction set and a second instruction (213-219) in a second instruction set wherein the first instruction (212)

openMSP430之instruction

Byte and word issues 1 Appending “.b” to an instruction makes it a byte operation. A byte instruction with a register destination clears the high 8 bits of the register to 0. Thus, the following would clear the top byte of the register, leaving the l

SQLite 使用AUTOINCREMENT带来的利弊

在项目使用中我们常常需要一个自动增长的主键,比如加上AUTOINCREMENT约束使一个主键在每次插入数据时增长.由于一般而言你建立一个表会默认有一个成为ROWID的字段(除非声明为 without rowid),所以你添加的integer primary key其实就是rowid的别名而已,但是如果你加了autoincrement的约束以后,数据库引擎生成rowid的算法会发生相应的改变. 他们的生成算法如下 integer primary key: 获取当前column最大的值,如果没有达到

Instruction (hdu 5083)

Instruction Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 163    Accepted Submission(s): 46 Problem Description Nowadays, Jim Green has produced a kind of computer called JG. In his computer,

MSP430之ADC采集滤波

占位符 1 /* 加权平均滤波 */ 2 static unsigned char coe[13] = {1,2,3,4,5,6,7,8,9,10,11,12,13}; 3 static unsigned int coeSum= 1+2+3+4+5+6+7+8+9+10+11+12+13; 4 unsigned long temp = 0; 5 6 for (i = 0; i<ADCN; i++) 7 { 8 temp += arr[i]*coe[i]; 9 } 10 temp = (unsig