Skip to main content
Books, videos, and music - all free from your public library!
LoginSign Up

Footer

Hoopla logo, Go to homepage
  • For Patrons
  • For Libraries (opens in new window)
  • For Vendors (opens in new window)
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)

Our Company

  • Our Story
  • Get Hoopla for your Library (opens in new window)
  • Get your content on hoopla (opens in new window)
  • Join our team (opens in new window)
  • Accessibility Statement

Our Content

  • Audiobooks
  • Ebooks
  • Movies
  • Television
  • Comics
  • BingePasses
  • Music
  • The Loop Blog

Help

  • Help Center
  • Submit Feedback
  • Facebook (opens in new window)
  • X (opens in new window)
  • Instagram (opens in new window)
  • YouTube (opens in new window)
  • TikTok (opens in new window)
  • LinkedIn (opens in new window)
  • Download on the App Store (opens in new window)
  • Get it on Google Play (opens in new window)
  • Available at Amazon Appstore (opens in new window)
© 2026 Midwest Tape, LLC. All rights reserved. Privacy Policy | Terms of Use
  • Hoopla logo
    Powered by Hoopla
  • Browse
  • My Hoopla
  • Log In
  1. Navigate Home
  2. Ebooks
  3. Make Your Own Compiler This Way

EBOOK

Make Your Own Compiler This Way

Targeting for PIC16 and STM8 MCUs

Mengjin Su
(0)
sign up
Year
2026
Language
English
Publisher
Mengjin Su

About

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.

Related Subjects

  • C
  • Languages
  • Computers
  • Adult Nonfiction
  • Compilers
  • Programming
  • General
  • Hardware

Artists

Mengjin SuAuthor