STM8 CPU Programming Manual

This is the STM8 CPU programming manual. The STM8 family of HCMOS microcontrollers is designed and built around an enhanced industry standard 8-bit core and a library of peripheral blocks.


STM8 CPU Programming Manual - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Programming Manual
Language
English
Pages
162
File format
PDF
File size
1.5 MB
Published
13 October, 2023
Updated
13 October, 2023
Model
STM8
MD5 checksum
1526C2371CFDD350583B7CC6EB34F5B6

About this manual

This document provides a comprehensive programming manual for the STM8 family of HCMOS microcontrollers. It describes the enhanced 8-bit core, peripheral blocks, and the Harvard architecture designed for high code efficiency and energy savings. The manual covers the internal registers, including the 24-bit Program Counter and 16-bit Stack Pointer, which support up to 16-Mbyte of memory addressing.

What's inside

  • STM8 architecture
  • STM8 core description
  • STM8 memory interface
  • Pipelined execution
  • STM8 addressing modes
  • STM8 instruction set

Specifications

Internal registers6 internal registers
Addressing modes20 addressing modes
Instructions80 instructions
Program Counter size24-bit
Stack Pointer size16-bit
Condition flags7 Condition flags
Maximum memory addressable16-Mbyte
Interrupt vectorsup to 32
Average instruction size2 bytes

Frequently asked questions

What is the average instruction size of the STM8 instruction set?

The instruction set is 8-bit oriented with a 2-byte average instruction size.

How many internal registers does the STM8 core contain?

The STM8 core contains 6 internal registers.

What is the maximum memory size that can be addressed by the STM8?

The 24-bit Program Counter is able to address up to 16-Mbyte of RAM, ROM or Flash memory.

Download PDF (1.5 MB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →