Overview

 

 

 

 

 

 

 

 

Table 16. Notation Details

 

 

 

 

 

 

Notation

Meaning

Notation

Meaning

 

 

 

 

X ← Y

X is written with Y

X >> n

The value X after being right-shifted n bit

 

 

 

positions

 

 

 

 

∅ ← e

Expression e is evaluated, and the result

X << n

The value X after being left-shifted n bit

 

is discarded

 

positions

 

 

 

 

RA

One of the 32 visible registers, selected

bnX

The nth byte (8-bit field) within the

 

by the 5-bit a-field of the instruction word

 

full-width value X. b0X = X[7..0],

 

 

 

b1X = X[15..8], b2X = X[23..16], and

 

 

 

b3X = X[31..24]

RB

One of the 32 visible registers, selected

hnX

The nth half-word (16-bit field) within the

 

by the 5-bit b-field of the instruction word

 

full-width value X. h0X = X[15..0],

 

 

 

h1X = X[31..16]

RP

One of the 4 pointer-enabled (P-type)

X & Y

Bitwise logical AND

 

registers, selected by the 2-bit p-field of

 

 

 

the instruction word

 

 

 

 

 

 

IMMn

An n-bit immediate value, embedded in

X Y

Bitwise logical OR

 

the instruction word

 

 

 

 

 

 

K

The 11-bit value held in the K register. (K

X ⊕ Y

Bitwise logical exclusive OR

 

can only be set by a PFX instruction)

 

 

 

 

 

 

0xnn.mm

Hexadecimal notation (decimal points not

~X

Bitwise logical NOT (one’s complement)

 

significant, added for clarity)

 

 

 

 

 

 

X : Y

Bitwise-concatenation operator.

X

The absolute value of X

 

e.g.: (0x12 : 0x34) = 0x1234

 

(i.e. –X if (X < 0), X otherwise).

 

 

 

 

{e1, e2}

Conditional expression. Evaluates to e2

Mem32[X]

The aligned 32-bit word value stored in

 

if previous instruction was PFX,

 

external memory, starting at byte address

 

e1 otherwise

 

X

 

 

 

 

σ(X)

X after being sign-extended into a full

Mem16[X]

The aligned 16-bit half-word value stored

 

register-sized signed integer

 

in external memory, starting at byte-

 

 

 

address X

 

 

 

 

X[n]

The nth bit of X (n = 0 means LSB)

align16(X)

X & 0xFF.FE, which is the integer value X

 

 

 

forced into half-word alignment via

 

 

 

truncation

 

 

 

 

X[n..m]

Consecutive bits n through m of X

align32(X)

X & 0xFF.FF.FF.FC, which is the integer

 

 

 

value X forced into full-word alignment via

 

 

 

truncation

 

 

 

 

C

The C (carry) flag in the STATUS register

 

 

 

 

 

 

CTLk

One of the 2047 control registers selected

 

 

 

by K

 

 

 

 

 

 

1

Overview

Altera Corporation

25

Page 37
Image 37
Excalibur electronic A-MNL-NIOSPROG-01.1 manual Notation Details, Notation Meaning