MSP430 Simulator
Write MSP430 assembly in your browser. Step through instructions, inspect registers and memory, and explore GPIO and Timer_A with examples from the assembly course.
Loading the MSP430 simulator…
How to use the simulator
Choose a chapter and an example. Select Load to assemble it, then Step to execute one instruction. Before each step, predict the next register value and check your answer. Use Run to follow a loop.
Guided exercises
- Hello, ASM: First Program
- The 7 Addressing Modes
- Status Register Flags: Z, N, C, V
- Digital Output: LED on P1.0
- Button Interrupt + Low-Power Mode
- Timer_A0 Up Mode: Periodic Interrupt + Square Wave
- Hardware PWM with Timer_A0
- 32-bit Addition
Frequently asked questions
Can I measure hardware timing?
The execution speed lets you observe changes on screen. Use the lab board to verify physical timing or the electrical behaviour of its pins.
How do I share an exercise?
Select the example and copy the browser address. The link opens the original course program. Edits you make in the editor stay local.
Assembly course and lecture slidesWant to know when the next course drops?
No spam. Just a heads-up when I publish new modules or courses.