4.13.3 Pack Bytes

Format:

PKxB

Rb.rq,Rc.wq

! Operate Format

Operation:

CASE

PKLB:

BEGIN

Rc<07:00> Rbv<07:00>

Rc<15:08> Rbv<39:32>

Rc<63:16> 0

END

PKWB:

BEGIN

Rc<07:00> Rbv<07:00>

Rc<15:08> Rbv<23:16>

Rc<23:16> Rbv<39:32>

Rc<31:24> Rbv<55:48>

Rc<63:32> 0

END

ENDCASE

Exceptions:

 

None

 

Instruction mnemonics:

 

PKLB

Pack Longwords to Bytes

PKWB

Pack Words to Bytes

Qualifiers:

 

None

 

Description:

For PKLB, the component longwords of Rb are truncated to bytes and written to the lower two byte positions of Rc. The upper six bytes of Rc are written with zero.

For PKWB, the component words of Rb are truncated to bytes and written to the lower four byte positions of Rc. The upper four bytes of Rc are written with zero.

Instruction Descriptions 4–155

Page 211
Image 211
Compaq ECQD2KCTE manual Pack Bytes, Pklb