Texas Instruments MSP50C6xx Calculator User Manual


 
Individual Instruction Descriptions
4-128
4.14.34 MOVSPH Move With Subtract from PH
Syntax
[label] name dest, src, src1 Clock, clk Word, w With RPT, clk Class
MOVSPH An, MR, {adrs} Table 446 Table 446 1b
Execution An An PH
MR contents of {adrs}
PC PC + w
Flags Affected TAG, OF, SF, ZF, CF are set accordingly
Opcode
Instructions 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MOVSPH An, MR, {adrs}
0 1 1 0 0 1 0 An adrs
x dma16 (for direct) or offset16 (long relative) [see section 4.13]
Description Move data memory to MR, subtract PH from An, store result in An.
See Also MOVSPHS, MOVAPH, MOVAPHS, MOVTPH, MOVTPHS
Example 4.14.36.1 MOVSPH A0, MR, *R3+R5
Load the content of byte address created by adding R3 and R5 to MR register. At the same time, subtract
PH register from accumulator A0, store result in A0.