beautypg.com

Zilog Z16F2810 User Manual

Page 183

background image

UM018809-0611

SRLX Instruction

ZNEO

®

CPU Core

User Manual

167

Flags are set based on the 32-bit destination register value.

Syntax and Opcodes

Example

Before:

R7=8F37_B2D3H (1000_1111_0011_0111_1011_0010_1101_0011B), R8=4

SRLX R7, R8

;Object code: 0007 B587

After:

R7=08F3_7B2DH (0000_1000_1111_0011_0111_1011_0010_1101B),

R8=3000_0000H (0011_0000_0000_0000_0000_0000_0000_0000B), Flags C, Z, S, V,
B=0

Instruction, Operands

Extend

Prefix

Word 0

Word 1

Word 2

SRLX Rd, Rs

0007H

{B5H, Rs, Rd}

Note:

This manual is related to the following products: