Assembly source

Enter continues the current line's indentation (2 spaces per level); a line whose code ends with a label colon (done:) starts the next line at column 0, because labels sit at column 0. Format aligns a program into label / opcode / operand / comment columns: labels stay at column 0, opcodes in a block line up together, operands share one column, and trailing #comments start at column 32 when the statement is shorter than that. Only spacing between tokens changes — string literals, comments and labels are preserved, so the program still assembles to the same machine words.

text base 0x00400000 · data base 0x10010000 · live local assembly

Preview

unresolved

Resolve the assembly diagnostics on the left to activate preview execution.