Individual Instruction Descriptions
4-120
Example 4.14.28.13
MOV R1, 0x0200 * 2
Load immediate word memory address 0x0200 to R1.
Example 4.14.28.14
MOV R7, (0x0280 – 32) * 2
Load R7 (stack register) with the starting value of stack, i.e., 0x0260.
Example 4.14.28.15
MOV *0x0200 * 2, R0
Store R0 to data memory word location 0x0200.
Example 4.14.28.16
MOV R0, R5
Transfer R5 to R0.
Example 4.14.28.17
MOV AP2, *R3
Copy content of data memory location stored in R3 to accumulator pointer AP2.
Example 4.14.28.18
MOV *R6 + 8 * 2, DP
Copy data pointer (DP) to data memory word location pointed by R6 offset by 8 location (short relative
addressing).
Example 4.14.28.19
MOV STR, *0x0200 * 2
Copy the STR register with the content of word memory location 0x0200.
Example 4.14.28.20
MOV *R6+0x20, TF2
Copy TF2 flag to the flag bit in relative flag location R6 offset by 0x20.
Example 4.14.28.21
MOV TF1, ZF
Copy status of ZF flag in STAT register to TF1.
Example 4.14.28.22
MOV SV, 4 – 2
Load SV register with a constant value 2.
Example 4.14.28.23
MOV AP3, 23 – 16
Load accumulator pointer AP3 with value 7.
Содержание MSP50C6xx
Страница 1: ...MSP50C6xx Mixed Signal Processor User s Guide Mixed Signal Products SPSU014A Printed on Recycled Paper...
Страница 6: ...vi...
Страница 14: ...xiv...
Страница 24: ...1 10...
Страница 296: ...Instruction Set Summay 4 210 Assembly Language Instructions...
Страница 332: ...Implementation Details 5 36 R7 Return Addr Return Addr Param 2 Param 2 Param 1 Param 1 R5 Stack data Function call...
Страница 366: ...6 12...