Central Processor Unit (CPU)

Table 7-1. Instruction Set Summary (Sheet 5 of 6)

 

 

 

 

 

Effect

 

 

Address Mode

Source

Operation

Description

 

on CCR

 

Form

 

 

 

 

 

 

 

V H I N Z C

 

 

 

 

 

 

 

 

PULA

Pull A from Stack

SP (SP + 1); Pull (A)

INH

PULH

Pull H from Stack

SP (SP + 1); Pull (H)

INH

PULX

Pull X from Stack

SP (SP + 1); Pull (X)

INH

ROL opr

 

 

 

 

 

 

 

 

 

DIR

ROLA

 

 

 

 

 

 

 

 

 

INH

ROLX

Rotate Left through Carry

C

 









INH

ROL opr,X

 

IX1

b7

b0

ROL ,X

 

 

 

 

 

 

 

IX

 

 

 

 

 

 

 

 

 

ROL opr,SP

 

 

 

 

 

 

 

 

 

SP1

ROR opr

 

 

 

 

 

 

 

 

 

DIR

RORA

 

 

 

 

 

 

 

 

 

INH

RORX

Rotate Right through Carry

 

C









INH

ROR opr,X

b7

b0

IX1

ROR ,X

 

 

 

 

 

 

 

IX

 

 

 

 

 

 

 

 

 

ROR opr,SP

 

 

 

 

 

 

 

 

 

SP1

RSP

Reset Stack Pointer

 

SP $FF

INH

 

 

SP (SP) + 1; Pull (CCR)

 

 

 

 

 

 

 

 

 

SP

(SP) + 1; Pull (A)

 

 

 

 

 

 

 

RTI

Return from Interrupt

SP

(SP) + 1; Pull (X)













INH

 

 

SP (SP) + 1; Pull (PCH)

 

 

 

 

 

 

 

 

 

SP (SP) + 1; Pull (PCL)

 

 

 

 

 

 

 

RTS

Return from Subroutine

SP SP + 1; Pull (PCH)

INH

SP SP + 1; Pull (PCL)

 

 

 

 

 

 

 

 

 

SBC #opr

 

 

 

 

 

 

 

 

 

IMM

SBC opr

 

 

 

 

 

 

 

 

 

DIR

SBC opr

 

 

 

 

 

 

 

 

 

EXT

SBC opr,X

Subtract with Carry

A (A) – (M) – (C)









IX2

SBC opr,X

 

 

 

 

 

 

 

 

 

IX1

SBC ,X

 

 

 

 

 

 

 

 

 

IX

SBC opr,SP

 

 

 

 

 

 

 

 

 

SP1

SBC opr,SP

 

 

 

 

 

 

 

 

 

SP2

SEC

Set Carry Bit

 

C 1

1

INH

SEI

Set Interrupt Mask

 

I 1

1

INH

STA opr

 

 

 

 

 

 

 

 

 

DIR

STA opr

 

 

 

 

 

 

 

 

 

EXT

STA opr,X

 

 

M (A)

 

 

 





 

IX2

STA opr,X

Store A in M

 

0

IX1

STA ,X

 

 

 

 

 

 

 

 

 

IX

STA opr,SP

 

 

 

 

 

 

 

 

 

SP1

STA opr,SP

 

 

 

 

 

 

 

 

 

SP2

STHX opr

Store H:X in M

(M:M + 1) (H:X)

0





DIR

STOP

Enable Interrupts, Stop Processing,

I 0; Stop Processing

0

INH

Refer to MCU Documentation

 

 

 

 

 

 

 

 

 

 

STX opr

 

 

 

 

 

 

 

 

 

DIR

STX opr

 

 

 

 

 

 

 

 

 

EXT

STX opr,X

 

 

M (X)

 

 

 





 

IX2

STX opr,X

Store X in M

 

0

IX1

STX ,X

 

 

 

 

 

 

 

 

 

IX

STX opr,SP

 

 

 

 

 

 

 

 

 

SP1

STX opr,SP

 

 

 

 

 

 

 

 

 

SP2

SUB #opr

 

 

 

 

 

 

 

 

 

IMM

SUB opr

 

 

 

 

 

 

 

 

 

DIR

SUB opr

 

 

 

 

 

 

 

 

 

EXT

SUB opr,X

Subtract

A (A) – (M)









IX2

SUB opr,X

 

 

 

 

 

 

 

 

 

IX1

SUB ,X

 

 

 

 

 

 

 

 

 

IX

SUB opr,SP

 

 

 

 

 

 

 

 

 

SP1

SUB opr,SP

 

 

 

 

 

 

 

 

 

SP2

Opcode

Operand

Cycles

86

 

2

8A

 

2

88

 

2

39

dd

4

49

 

1

59

 

1

69

ff

4

79

 

3

9E69

ff

5

36

dd

4

46

 

1

56

 

1

66

ff

4

76

 

3

9E66

ff

5

9C

 

1

807

814

A2

ii

2

B2

dd

3

C2

hh ll

4

D2

ee ff

4

E2

ff

3

F2

 

2

9EE2

ff

4

9ED2

ee ff

5

99

 

1

9B

 

2

B7

dd

3

C7

hh ll

4

D7

ee ff

4

E7

ff

3

F7

 

2

9EE7

ff

4

9ED7

ee ff

5

35

dd

4

8E

 

1

BF

dd

3

CF

hh ll

4

DF

ee ff

4

EF

ff

3

FF

 

2

9EEF

ff

4

9EDF

ee ff

5

A0

ii

2

B0

dd

3

C0

hh ll

4

D0

ee ff

4

E0

ff

3

F0

 

2

9EE0

ff

4

9ED0

ee ff

5

MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1

88

Freescale Semiconductor

Page 88
Image 88
Freescale Semiconductor MC68HC908MR32, MC68HC908MR16 Instruction Set Summary Sheet 5, Operation Description On CCR Form

MC68HC908MR16, MC68HC908MR32 specifications

Freescale Semiconductor's MC68HC908MR32 and MC68HC908MR16 microcontrollers are part of the popular HC08 family, designed primarily for embedded applications. These microcontrollers are particularly favored in automotive, industrial, and consumer product sectors due to their reliability and versatility.

One of the standout features of the MC68HC908MR series is its CMOS technology, which enhances performance while minimizing power consumption. This makes these microcontrollers suitable for battery-operated devices. They operate at a maximum clock frequency of 2 MHz and offer a 16-bit architecture, providing a solid balance between processing power and efficiency.

The MC68HC908MR32 variant is equipped with 32KB of flash memory, which allows for the storage of complex programs and extensive data handling. In contrast, the MC68HC908MR16 features 16KB of flash memory, making it ideal for simpler applications. Both microcontrollers also come with 1KB of RAM, enabling efficient data processing and real-time operations.

Another significant characteristic of these microcontrollers is their integrated peripherals. They come with multiple input/output (I/O) pins, which allow for connectivity with various sensors and actuators. The built-in timer systems offer precise timing control for automotive and industrial applications, while the Analog-to-Digital Converter (ADC) provides essential conversion capabilities for various analog signals.

For communication purposes, the MC68HC908MR series includes a serial communication interface, enabling easy integration with other devices and systems. This versatility facilitates the development of complex systems that require interaction with external components.

Security is another crucial aspect of these microcontrollers. They have built-in fail-safe mechanisms to ensure reliable operation under various conditions, making them suitable for critical systems. Additionally, their robust architecture helps to safeguard against potential disruptions or attacks.

In summary, Freescale Semiconductor's MC68HC908MR32 and MC68HC908MR16 microcontrollers are key players in the embedded systems landscape. Their blend of power efficiency, integrated features, and scalability ensures they remain relevant for a wide array of applications, making them a favored choice among engineers and developers looking for dependable solutions in a competitive market.