Compaq ECQD2KCTE Laptop User Manual


 
Instruction Descriptions 4–61
4.6.6 Zero Bytes
Format:
Operation:
CASE
ZAP:
Rc BYTE_ZAP(Rav, Rbv<7:0>)
ZAPNOT:
Rc BYTE_ZAP(Rav, NOT Rbv<7:0>)
ENDCASE
Exceptions:
Instruction mnemonics:
Qualifiers:
Description:
ZAP and ZAPNOT set selected bytes of register Ra to zero and store the result in register Rc.
Register Rb<7:0> selects the bytes to be zeroed. Bit 0 of Rbv corresponds to byte 0, bit 1 of
Rbv corresponds to byte 1, and so on. A result byte is set to zero if the corresponding bit of
Rbv is a one for ZAP and a zero for ZAPNOT.
ZAPx Ra.rq,Rb.rq,Rc.wq
!Operate format
ZAPx Ra.rq,#b.ib,Rc.wq
!Operate format
None
ZAP Zero Bytes
ZAPNOT Zero Bytes Not
None