Table 2-1

Instruction Set

 

Mnemonic

Instruction Name

 

AAA

ASCII adjust for addition

 

AAD

ASCII adjust for division

 

AAM

ASCII adjust for multiplication

 

AAS

ASCII adjust for subtraction

 

ADC

Add byte or word with carry

 

ADD

Add byte or word

 

AND

Logical AND byte or word

 

BOUND

Detects values outside prescribed range

 

CALL

Call procedure

 

CBW

Convert byte to word

 

CLC

Clear carry flag

 

CLD

Clear direction flag

 

CLI

Clear interrupt-enable flag

 

CMC

Complement carry flag

 

CMP

Compare byte or word

 

CMPS

Compare byte or word string

 

CWD

Convert word to doubleword

 

DAA

Decimal adjust for addition

 

DAS

Decimal adjust for subtraction

 

DEC

Decrement byte or word by 1

 

DIV

Divide byte or word unsigned

 

ENTER

Format stack for procedure entry

 

ESC

Escape to extension processor

 

HLT

Halt until interrupt or reset

 

IDIV

Integer divide byte or word

 

IMUL

Integer multiply byte or word

 

IN

Input byte or word

 

INC

Increment byte or word by 1

 

INS

Input bytes or word string

 

INT

Interrupt

 

INTO

Interrupt if overflow

 

IRET

Interrupt return

 

JA/JNBE

Jump if above/not below or equal

 

JAE/JNB

Jump if above or equal/not below

Programming

2-5

Page 27
Image 27
AMD Am188TMER, Am186TMER user manual Instruction Set, Mnemonic Instruction Name