Zilog Z16F2810 User Manual

Page 181

Advertising
background image

UM018809-0611

SRL Instruction

ZNEO

®

CPU Core

User Manual

165

Syntax and Opcodes

Example

Before:

R7=8F37_B2D3H (1000_1111_0011_0111_1011_0010_1101_0011B)

SRL R7, #4

;Object code: BA47

After:

R7=08F3_7B2DH (0000_1000_1111_0011_0111_1011_0010_1101B), Flags C, Z,

S, V, B=0

Instruction, Operands

Word 0

Word 1

Word 2

SRL Rd, #uimm5

{BH, 101B, uimm5, Rd}

SRL Rd, Rs

{B5H, Rs, Rd}

Advertising
This manual is related to the following products: