Extract - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

6.2.28

extract

Mnemonic:
extract
Format:
extract
Description:
Shifts a specified bit field in src/dst right and zero fills bits to left of shifted bit
field. bitpos value specifies the least significant bit of the bit field to be
shifted; len value specifies bit field length.
src_dst = (src_dst >> min(bitpos, 32))
Action:
& ~ (0xFFFFFFFF << len);
Faults:
STANDARD
Example:
extract 5, 12, g4
Opcode:
extract
See Also:
modify
INSTRUCTION SET REFERENCE
Extract
bitpos
len
reg/lit
reg/lit
Refer to
# g4
g4 with bits 5 through
# 16 shifted right.
651H
REG
src/dst
reg
section 6.1.6, "Faults" (pg.
6-5).
6
6-51

Advertisement

Table of Contents
loading

Table of Contents