| Electronic Components Datasheet Search |
|
DP8344 Datasheet(PDF) 148 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
DP8344 Datasheet(HTML) 148 Page - National Semiconductor (TI) |
|
148 / 184 page ![]() 60 Reference Section (Continued) MOVE Move Register Syntax MOVE Rs Rd register register MOVE Rs mIr register indexed MOVE Rs IraA register register-relative MOVE rs IZan limited register immediate-relative Affected Flags None Description Moves the contents of the source register into the destina- tion specified The source register operand Rs may specify any active CPU register where as the source register oper- and rs is limited to the active registers R0 – R15 The desti- nation operand may specify either any active CPU register Rd or data memory via one of the index register modes mIr IraA IZan The index register-relative mode IraA forms its data memory address by adding the con- tents of the index register Ir to the unsigned 8-bit value con- tained in the currently active accumulator The immediate- relative mode IZan forms its data memory address by adding the contents of the index register IZ to the unsigned 8-bit immediate value n Example The first example loads the Transmitter FIFO with a data byte in register 20 EXX 01 select main A alt B MOVE R20 RTR Load the Transmitter FIFO The second example ‘‘pushes’’ the current accumulator’s contents onto an external data stack which is pointed to by the index register IX MOVE A IXb push accum to ext stack The third example demonstrates the random access of a data byte within a logical record contained in memory The index register IY contains the base address of the logical record ADDA R9 A calculate offset into record MOVE R20 IYaA update data byte in record In the final example the 4th element of an Error Count table is updated with a new value contained in the current accu- mulator The index register IZ points to the 1st entry of the table MOVE A IZa3 update 4th element of table Instruction Format MOVE Rs Rd 111111 Opcode Rd Rs 15 9 4 0 MOVE Rs mIr TLF9336 – 10 MOVE Rs IraA 110001001 Opcode Ir Rs 15 6 v 40 00IW 01IX 10IY 11IZ MOVE rs Zan 0001 Opcode n rs 15 11 3 0 T-states MOVE Rs Rd 2 MOVE Rs mIr 3 MOVE Rs IraA 3 MOVE rs IZan 3 Bus Timing MOVE Rs Rd Figure 6-1 MOVE Rs mIr Figure 6-6 MOVE Rs IraA Figure 6-6 MOVE rs IZan Figure 6-6 Operation MOVE Rs Rd Rs xRd MOVE Rs mIr Rs xdata memory MOVE Rs IraA Rs xdata memory MOVE rs IZan rs xdata memory 148 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |