22 ins input from port into string – Texas Instruments MSP50C6xx User Manual
Page 192
Individual Instruction Descriptions
4-106
4.14.22
INS
Input From Port Into String
Syntax
[label]
name
src, src1
Clock, clk
Word, w
With RPT, clk
Class
INS
An[~], port6
n
S
+2
1
n
R
+2
6b
Execution
dest
⇐
content of port6
PC
⇐
PC + 1
Flags Affected
dest is An: 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
INS An[~], port6
1
1
1
0
1
1
1
An
port6
0
~A
Description
Input string from same port, port6, to accumulator string. Strings can be input
to accumulators from one of 64 port addresses. In this instruction, port6 is
sampled n
S
+2 times. The first sample is stored in the lowest order accumula-
tor of the string and the last sample is stored in the highest order accumulator
of the string.
See Also
IN, OUT, OUTS
Example 4.14.22.1
INS A2, 0
Input string starting from port 0 to accumulator string.