4.13.4 Unpack Bytes

Format:

UNPKBx

Rb.rq,Rc.wq

! Operate Format

Operation:

temp = 0

CASE UNPKBL: BEGIN

temp<07:00> = Rbv<07:00> temp<39:32> = Rbv<15:08>

END

UNPKBW:

BEGIN

temp<07:00> = Rbv<07:00> temp<23:16> = Rbv<15:08> temp<39:32> = Rbv<23:16> temp<55:48> = Rbv<31:24>

END

ENDCASE Rc temp

Exceptions:

 

None

 

Instruction mnemonics:

 

UNPKBL

Unpack Bytes to Longwords

UNPKBW

Unpack Bytes to Words

Qualifiers:

 

None

 

Description:

For UNPKBL, the lower two component bytes of Rb are zero-extended to longwords. The resulting longwords are written to Rc.

For UNPKBW, the lower four component bytes of Rb are zero-extended to words. The result- ing words are written to Rc.

4–156Alpha Architecture Handbook

Page 212
Image 212
Compaq ECQD2KCTE manual Unpack Bytes, Unpkbl