Texas Instruments MSP50C614 User Manual

Page 197

Advertising
background image

Individual Instruction Descriptions

4-105

Assembly Language Instructions

4.14.22

INS

Input From Port Into String

Syntax

[label]

name

src, src1

Clock,

clk

Word,

w

With RPT,

clk

Class

INS

A

n[~], 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 A

n[~], port6

1

1

1

0

1

1

1

A

n

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.

Advertising