Texas Instruments MSP50C614 manual Outs Output String to Port, Port6 specified in the instruction

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 242
Image 242

Individual Instruction Descriptions

4.14.55 OUTS

 

Output String to Port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

 

 

dest, src

 

 

 

 

Clock, clk

Word, w

 

 

With RPT, clk

 

 

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OUTS

 

 

port6, An[~]

 

 

 

 

 

nR+2

 

 

1

 

 

 

 

nR+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.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.

4-150

Page 242
Image 242
Texas Instruments MSP50C614 Outs Output String to Port, Port6 specified in the instruction, Out, In, Ins, Port6 , An ~