Skip to content

CLR

Operation

Writes zero to the selected-width destination.

Assembler Syntax

CLR.Q Rn(r)

CLR.L Rn(r)

CLR.{B|W|L|Q}(z) <ea>(e)

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes dst

Writes zero to the selected-width destination.

2.75in

Encodings

CLR.Q Rn(r)

Format: Instruction format for CLR.Q Rn(r)

Format: Instruction format for CLR.Q Rn(r)

2.75in CLR.L Rn(r)

Format: Instruction format for CLR.L Rn(r)

Format: Instruction format for CLR.L Rn(r)

2.75in CLR.{B|W|L|Q}(z) <ea>(e)

Format: Instruction format for CLR.{B|W|L|Q}(z) <ea>(e)

Format: Instruction format for CLR.{B|W|L|Q}(z) <ea>(e)

dstexcluded: immediate [invalid_destination]