beautypg.com

55 outs output string to port – Texas Instruments MSP50C614 User Manual

Page 242

background image

Individual Instruction Descriptions

4-150

4.14.55

OUTS

Output String to Port

Syntax

[label]

name

dest, src

Clock,

clk

Word,

w

With RPT,

clk

Class

OUTS

port6, An[~]

n

R

+2

1

n

R

+2

6b

Execution

port6

src

PC

PC + 1

Flags Affected

XSF, XZF are set accordingly

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

OUTS

port6, An[~]

1

1

1

0

1

1

1

A

n

port6

1

~A

Description

Output to I/O port. Word in the accumulator string can be output to one of 64
port addresses. String operation writes several consecutive ports starting from
port6 specified in the instruction.

See Also

OUT, IN, INS

Example 4.14.55.1

OUTS 0x04, A3

Put the content of acccumulator string A3 to I/O port string address 0x04 (PADIR port). Note that, based
on string length, other consecutive ports may also be written.