beautypg.com

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

Page 283: Subtract)

background image

UM014423-0607

Using the Linker/Locator

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

263

Syntax

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

$

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