abc Asembler - elektronski priručnik
X dio Aritmetičke instrukcije

Instrukcija INC

Instrukcija INC se koristi za inkrementiranje operanda za jedan. Ona radi sa jednim operandom koji može biti ili u registru ili u memoriji.

Sintaksa
Instrukcija INC ima sljedeću sintaksu:

INC   destination

Operand destination može biti 8-bitni, 16-bitni ili 32-bitni operand.

Primjer

INC  EBX 		; Increments 32-bit register
INC  DL 		; Increments 8-bit register
INC  [count] 	; Increments the count variable

Direktiva %define    <    Index    >    Instrukcija DEC