Skip to content

INC

Operation

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

Assembler Syntax

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

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

Privilege

Unprivileged

Repeat eligibility

REP eligible; REPcc observes dst

Adds one to the selected-width destination and writes the modular result without changing FLAGS.

2.75in

Encodings

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

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

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

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

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

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

dstexcluded: immediate [invalid_destination]