CH552 Assembly: Table of Contents
Finding good resources for assembly language programming can be quite difficult, especially for microcontrollers. This is a basic series on assembly language programming specifically geared toward the CH552, rather than just the 8051 architecture. It covers the vast majority of the instruction set, and it explains how to do common programming tasks in assembly language, with a Harvard architecture.
You will need Adafruit’s QT Py CH552, if you want to follow along, though it shouldn’t be too hard to adapt this to any CH552 based dev/hobby board, so long as it has a NeoPixel and a button (other than reset).
Contents
0 - Introduction
1 - Testing the Toolchain
2 - Again in Assembly
3 - Basic 8-bit Integer Math
4 - Modularization
5 - Unconditional Branching
6 - Conditional Branching
7 - Loops
8 - Signed Arithmetic
9 - Advanced Integer Math - Addition, Subtraction
10 - Advanced Integer Math - Multiplication
11 - Local Variables
12 - Pointers
13 - Array Indexing
14 - 2D Array Indexing
15 - Structs and Unions
16 - Paged Memory
17 - Program Data