← Back to Articles

Using This Compiler

Compiler Features

Our web-based compiler provides powerful features for learning assembly.

Control Buttons

  • Run: Execute all instructions with animation
  • Step: Execute one instruction at a time
  • Pause: Stop automatic execution
  • Reset: Clear CPU state and restart

Code Editor

Features:

  • Line numbers for easy reference
  • Comment support (//)
  • Syntax highlighting via active line
  • Real-time parsing

Visualization Panels

Registers

View all 13 registers (R0-R12). Changed registers are highlighted. Click any register to edit its value.

Flags

Monitor Zero, Negative, Carry, and Overflow flags. Click to toggle flag values.

Memory

View memory contents. Change start address to explore different memory regions. Click values to edit them.

Program Counter

Shows which instruction will execute next.

Tips

  • Use Step mode to learn how instructions work
  • Try editing values mid-execution
  • Watch animations to see data flow
  • Experiment with example programs