beautypg.com

Shift left), Shift right), Subtract) – Zilog ZUSBOPTS User Manual

Page 307: Or) << (shift left) >> (shift right) - (subtract)

background image

UM017105-0511

Linker Expressions

Zilog Developer Studio II – ZNEO™

User Manual

279

Syntax

$

| (Or)

The | (Or) operator is used to perform a bitwise inclusive | (Or) of two expressions.

Syntax

|

<< (Shift Left)

The << (Shift Left) operator is used to perform a left shift. The first expression to the left
of << is the value to be shifted. The second expression is the number of bits to the left the
value is to be shifted.

Syntax

<<

>> (Shift Right)

The >> (Shift Right) operator is used to perform a right shift. The first expression to the
left of >> is the value to be shifted. The second expression is the number of bits to the right
the value is to be shifted.

Syntax

>>

- (Subtract)

The - (Subtract) operator is used to subtract one expression from another.

Syntax

-

This manual is related to the following products: