STM8 [SEP] manufacturer
STM8
The STM8 is an 8-bit microcontroller family by STMicroelectronics. The STM8 microcontrollers use an extended variant of the ST7 microcontroller architecture. STM8 microcontrollers are particularly low cost for a full-featured 8-bit microcontroller.
Architecture.
The STM8 is very similar to the earlier ST7, but is better suited as a target for C due to its 16-bit index registers and stack pointer-relative addressing mode. Although internally a Harvard architecture it has a unified 24-bit address space, allowing code to execute out of RAM (useful for in
new addressing modes (particularly an (["addr16"],X) 16-bit indirect mode), but it also introduces many completely new operations.
For CPW and LDW instructions where the operand addressing mode is indexed by X, the STM8 uses the Y register by default instead of X. Applying a codice_12 prefix exchanges X and Y so the register is X and the addressing mode is indexed by Y.
External links.
- Manufacturer's website on the STM8
- Comparison of C compilers for the STM8
- eForth for the STM8