4.6.4 Byte Mask

Format:

MSKxxRa.rq,Rb.rq,Rc.wq

MSKxxRa.rq,#b.ib,Rc.wq

Operation:

CASE

big_endian_data: Rbv’Rbv XOR 1112

little_endian_data: Rbv’Rbv

ENDCASE

CASE

MSKBL: byte_mask 0000 0000 0000 00012

MSKWx: byte_mask 0000 0000 0000 00112

MSKLx: byte_mask 0000 0000 0000 11112

MSKQx: byte_mask 0000 0000 1111 11112

ENDCASE

byte_mask LEFT_SHIFT(byte_mask, Rbv’<2:0>)

CASE

MSKxL:

Rc BYTE_ZAP(Rav, byte_mask<7:0>)

MSKxH:

Rc BYTE_ZAP(Rav, byte_mask<15:8>)

ENDCASE

Exceptions:

 

None

 

Instruction mnemonics:

 

MSKBL

Mask Byte Low

MSKWL

Mask Word Low

MSKLL

Mask Longword Low

MSKQL

Mask Quadword Low

MSKWH

Mask Word High

MSKLH

Mask Longword High

MSKQH

Mask Quadword High

Qualifiers:

 

None

 

!Operate format

!Operate format

Instruction Descriptions 4–57

Page 113
Image 113
Compaq ECQD2KCTE manual Byte Mask, Mskbl