| Electronic Components Datasheet Search |
|
D17133CS Datasheet(PDF) 66 Page - NEC |
|
|
|||||||||||||||||||||||||||||
D17133CS Datasheet(HTML) 66 Page - NEC |
|
66 / 289 page ![]() CHAPTER 7 SYSTEM REGISTER (SYSREG) 51 Example 3. General register is in row address 0 R00B MEM 0.0BH M034 MEM 0.34H MOV R00B, #0EH ; R00B ← 0EH MOV M034, @R00B ; Indirect transfer of data in the register As shown in Figure 7-9, when the above instructions are executed, the contents of data memory stored at address 3EH is transferred to data memory location M034. In other words, the MOV m, @r instruction causes the contents of the data memory location specified by @r (which by definition has the same row address as m) to be transferred to the data memory location specified by m. The indirect data transfer address has the same row address as m (example above uses row address is 3) and the column address is the value contained in the general register address specified by r (example above uses column address 0EH). Therefore the address in the above example is 3EH. The data transfer memory address source and destination in this example are the opposite of those shown in Example 2 (source and destination are switched). Figure 7-9. Example of Operation When MPE=0 and IXE=0 0 1 2 3 4 5 6 7 0123456789 A B C D E F System register General register 8 E Example 2. MOV @R005, M034 Example 1. ADD R003, M061 Column address specified as transfer destination Column address specified as transfer source Example 3. MOV M034, @R00B Column address Data memory address M General register address R 0000 0000 110 000 0001 0011 Column Address Row Address Bank Addresses in Example 1 ADD R003, M061 Data memory address M General register address R Indirect transfer address @R 0000 0000 0000 011 000 011 0100 0101 1000 Column Address Row Address Bank Same as M Contents of R Addresses in Example 2 MOV @R005, M034 |
|
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 |