beautypg.com

56 outs output string to port – Texas Instruments MSP50C6xx User Manual

Page 238

background image

Individual Instruction Descriptions

4-152

4.14.56

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

An

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.56.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.