Skip to content

DEC

Operation

Decrements the selected-width destination modulo its width without changing FLAGS.

Assembler Syntax

DEC.{L|Q}(z) Rn(r)

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

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes dst

Subtracts one from the selected-width destination and writes the modular result without changing FLAGS.

2.75in

Encodings

DEC.{L|Q}(z) Rn(r)

Format: Instruction format for DEC.{L|Q}(z) Rn(r)

Format: Instruction format for DEC.{L|Q}(z) Rn(r)

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

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

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

dstexcluded: immediate [invalid_destination]