Individual Instruction Descriptions
4-99
Assembly Language Instructions
MOV AP1, 3
; Point to loc corresponding to
; extended word in acc
MOVS A0, *R0
; R0 POINTS TO VALUE IN MEMORY
EXTSGN A1
; not string version as above
Alternatively, the following code can do the same thing but requires more code:
MOV AP0, 0
; POINT TO LSW OF ACCUM STRING
MOV AP1, 3
; Point to loc corresponding to
; extended word in acc
ZAC A1
; INITIALIZE EXTENDED SIGN VALUE as positive
MOVS A0, *R0 ; R0 POINTS TO VALUE IN MEMORY
JNS POSITIVE ; branch around negative extension,
; accepting default pos extension
NOT A1
; INVERT EXTENDED SIGN WORD FOR NEG CASE POSITIVE
......
See Also
EXTSGN
Example 4.14.17.1
EXTSGNS A0~
Sign extend accumulator string A0~. See the above IMPORTANT note on the bug in this instruction at
the present time.
Summary of Contents for MSP50C614
Page 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 92: ...3 22 ...
Page 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Page 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Page 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Page 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Page 368: ...5 68 ...
Page 394: ...7 12 ...
Page 402: ...A 8 ...
Page 412: ...Packaging B 10 ...