Microcontrollers in Practice

A.3: HC11 Instruction Set

A.3 HC11 Instruction Set

Mnemonic

Operation

Description

Flags

ABA

Add Accumulators

A + B ? A

H,N,Z,V,C

ABX

Add B to X

IX + (00 : B) ? IX

ABY

Add B to Y

IY + (00 : B) ? IY

ADCA (opr)

Add with Carry to A

A + M + C ? A

H,N,Z,V,C

ADCB (opr)

Add with Carry to B

B + M + C ? B

H,N,Z,V,C

ADDA (opr)

Add Memory to A

A + M ? A

H,N,Z,V,C

ADDB (opr)

Add Memory toB

B + M ? B

H,N,Z,V,C

ADDD (opr)

Add 16-Bit to D

D + (M : M + 1) ? D

N,Z,V,C

ANDA (opr)

AND A with Memory

A ? M ? A

N,Z,V

ANDB (opr)

AND B with Memory

B ? M ?B

N,Z,V

ASL (opr)

Arithmetic Shift Left

C ? b7 ? b6 b0 ? 0

N,Z,V,C

ASLA

Arithmetic Shift Left A

C ? b7 ? b6 b0 ? 0

N,Z,V,C

ASLB

Arithmetic Shift Left B

C ? b7 ? b6 b0 ? 0

N,Z,V,C

ASLD

Arithmetic Shift Left D

C ? b15 ? b14 b0 ? 0

N,Z,V,C

ASR

Arithmetic Shift Right

b7 ? b7 ? b0 ? C

N,Z,V,C

ASRA

Arithmetic Shift Right A

b7 ? b7 ?

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: ISO Containers
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.