Hexadecimal numeric values, Shift left), Shift right) – Zilog EZ80F916 User Manual

Page 283: Subtract)

Advertising
background image

UM014423-0607

Using the Linker/Locator

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

263

Syntax

<digits>

Hexadecimal Numeric Values

Hexadecimal numeric constant values can be used as an expression or part of an expres-
sion. Hex digits are collections of numeric digits from 0 to 9 or A to F.

Syntax

$

<hexdigits>

| (Or)

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

Syntax

<expression> | <expression>

<< (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

<expression> << <expression>

>> (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

<expression> >> <expression>

- (Subtract)

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

Syntax

<expression> - <expression>

Advertising
This manual is related to the following products: