32-Bit Instruction Set

 

 

 

FILL16

 

Half-Word Fill

Operation:

R0 (h0RA : h0RA)

Assembler Syntax:

FILL16 %r0,%rA

Example:

FILL16 %r0,%i3 ; %r0 gets 2 copies of %i3[0..15]

 

; first operand must be %r0

Description:

The least significant half-word of RA is copied into both half-word positions

 

in %r0. %r0 is the only allowed destination operand for FILL instructions.

Condition Codes:

 

 

Flags: Unaffected

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

 

V

Z

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Format:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rw

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Fields:

 

 

A = Register index of operand RA

 

 

 

 

 

 

 

15

14

13

 

12

11

10

 

9

8

7

 

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

1

1

 

1

1

1

 

1

 

0

0

 

1

1

 

 

A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

32-Bit Instruction Set

Altera Corporation

51

Page 63
Image 63
Excalibur electronic A-MNL-NIOSPROG-01.1 Half-Word Fill, FILL16 %r0,%rA, FILL16 %r0,%i3 %r0 gets 2 copies of %i30..15