Beat the rise! Delivery fees are going up soon. INFO

Close Notification

Your cart does not contain any items

Make Your Own Compiler This Way

Targeting for PIC16 and STM8 MCUs

Mengjin Su

$81.95   $69.36

Paperback

Not in-store but you can order this
How long will it take?

QTY:

English
Mengjin Su
26 February 2026
Make Your Own Compiler This Way is a hands-on, engineering-focused guide that walks readers through building a working C compiler toolchain for 8-bit microcontrollers, with primary emphasis on Microchip PIC16 (enhanced PIC16) and a dedicated section on STM8. It breaks the compiler into practical, buildable components, preprocessor, parser, assembler, and linker, and explains how each piece fits into a complete workflow that produces deployable binaries for target MCUs.

The book teaches compiler construction using real tools and a real build environment, including GNU toolchains (MinGW) and the classic parsing stack Flex + Bison, making it especially valuable for embedded developers who want to understand what happens ""under the hood"" between C source code and microcontroller machine code.

A full section extends the same concepts to STM8 compiler tools, highlighting architectural differences and how those differences shape compiler design decisions.
By:  
Imprint:   Mengjin Su
Dimensions:   Height: 279mm,  Width: 216mm,  Spine: 29mm
Weight:   1.302kg
ISBN:   9781969818288
ISBN 10:   196981828X
Pages:   420
Publication Date:  
Audience:   General/trade ,  ELT Advanced
Format:   Paperback
Publisher's Status:   Active

See Also