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.
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.
| Internal registers | 6 internal registers |
|---|---|
| Addressing modes | 20 addressing modes |
| Instructions | 80 instructions |
| Program Counter size | 24-bit |
| Stack Pointer size | 16-bit |
| Condition flags | 7 Condition flags |
| Maximum memory addressable | 16-Mbyte |
| Interrupt vectors | up to 32 |
| Average instruction size | 2 bytes |
The instruction set is 8-bit oriented with a 2-byte average instruction size.
The STM8 core contains 6 internal registers.
The 24-bit Program Counter is able to address up to 16-Mbyte of RAM, ROM or Flash memory.