# Examples

Web page: https://asm-editor.specy.app/examples

- **MIPS: asmOS**: A desktop with a process scheduler and window manager, written in C and MIPS assembly. Includes Pac-Man, DOOM and a RISC-V assembly editor. [Open it](https://asm-editor.specy.app/examples?example=mips-asmos) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/asmos.asmproj)
- **RISC-V: asmOS**: A desktop with a process scheduler and window manager, written in C and RISC-V assembly. Includes Pac-Man, DOOM and a RISC-V assembly editor. [Open it](https://asm-editor.specy.app/examples?example=risc-v-asmos) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/asmos.asmproj)
- **x86-64: asmOS**: A desktop with a process scheduler and window manager, written in C and x86 assembly. Includes Pac-Man, DOOM and a RISC-V assembly editor. [Open it](https://asm-editor.specy.app/examples?example=x86-asmos) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/asmos.asmproj)
- **M68K: Bad Apple!!**: Bad Apple!!, the shadow-play video, as 6,526 frames of 16 by 16 pixels drawn with rectangles. [Open it](https://asm-editor.specy.app/examples?example=m68k-bad-apple) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/bad-apple.asmproj)
- **M68K: Binary search**: Finds a value in a sorted array by halving the search range. [Open it](https://asm-editor.specy.app/examples?example=m68k-binary-search) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/binary-search.asmproj)
- **MIPS: Binary search**: Finds a value in a sorted array by halving the search range. [Open it](https://asm-editor.specy.app/examples?example=mips-binary-search) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/binary-search.asmproj)
- **RISC-V: Binary search**: Finds a value in a sorted array by halving the search range. [Open it](https://asm-editor.specy.app/examples?example=risc-v-binary-search) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/binary-search.asmproj)
- **x86-64: Binary search**: Finds a value in a sorted array by halving the search range. [Open it](https://asm-editor.specy.app/examples?example=x86-binary-search) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/binary-search.asmproj)
- **Z80: Binary search**: Finds a value in a sorted array by halving the search range. [Open it](https://asm-editor.specy.app/examples?example=z80-binary-search) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/binary-search.asmproj)
- **MIPS: Bitmap tour**: The bitmap display, one word of memory a pixel: a colour ramp, a square and a border over a 256 by 256 grid. [Open it](https://asm-editor.specy.app/examples?example=mips-bitmap-tour) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/bitmap-tour.asmproj)
- **RISC-V: Bitmap tour**: The bitmap display, one word of memory a pixel: a colour ramp, a square and a border over a 256 by 256 grid. [Open it](https://asm-editor.specy.app/examples?example=risc-v-bitmap-tour) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/bitmap-tour.asmproj)
- **M68K: Bouncing ball**: A ball bouncing around the Screen, with a wait between frames. [Open it](https://asm-editor.specy.app/examples?example=m68k-bouncing-ball) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/bouncing-ball.asmproj)
- **MIPS: Bouncing ball**: A ball bouncing around the Screen, with a wait between frames. [Open it](https://asm-editor.specy.app/examples?example=mips-bouncing-ball) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/bouncing-ball.asmproj)
- **RISC-V: Bouncing ball**: A ball bouncing around the Screen, with a wait between frames. [Open it](https://asm-editor.specy.app/examples?example=risc-v-bouncing-ball) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/bouncing-ball.asmproj)
- **x86-64: Bouncing ball**: A ball bouncing around the Screen, with a wait between frames. [Open it](https://asm-editor.specy.app/examples?example=x86-bouncing-ball) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/bouncing-ball.asmproj)
- **Z80: Bouncing ball**: A ball bouncing around the Screen, with a wait between frames. [Open it](https://asm-editor.specy.app/examples?example=z80-bouncing-ball) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/bouncing-ball.asmproj)
- **M68K: Branches and loops**: Compares two numbers with if/else, then writes the numbers 1 to 10 into an array. [Open it](https://asm-editor.specy.app/examples?example=m68k-branches-and-loops) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/branches-and-loops.asmproj)
- **MIPS: Branches and loops**: Compares two numbers with if/else, then writes the numbers 1 to 10 into an array. [Open it](https://asm-editor.specy.app/examples?example=mips-branches-and-loops) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/branches-and-loops.asmproj)
- **RISC-V: Branches and loops**: Compares two numbers with if/else, then writes the numbers 1 to 10 into an array. [Open it](https://asm-editor.specy.app/examples?example=risc-v-branches-and-loops) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/branches-and-loops.asmproj)
- **x86-64: Branches and loops**: Compares two numbers with if/else, then writes the numbers 1 to 10 into an array. [Open it](https://asm-editor.specy.app/examples?example=x86-branches-and-loops) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/branches-and-loops.asmproj)
- **Z80: Branches and loops**: Compares two numbers with if/else, then writes the numbers 1 to 10 into an array. [Open it](https://asm-editor.specy.app/examples?example=z80-branches-and-loops) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/branches-and-loops.asmproj)
- **M68K: Bubble sort**: Sorts an array in place by swapping neighbours that are out of order. [Open it](https://asm-editor.specy.app/examples?example=m68k-bubble-sort) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/bubble-sort.asmproj)
- **MIPS: Bubble sort**: Sorts an array in place by swapping neighbours that are out of order. [Open it](https://asm-editor.specy.app/examples?example=mips-bubble-sort) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/bubble-sort.asmproj)
- **RISC-V: Bubble sort**: Sorts an array in place by swapping neighbours that are out of order. [Open it](https://asm-editor.specy.app/examples?example=risc-v-bubble-sort) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/bubble-sort.asmproj)
- **x86-64: Bubble sort**: Sorts an array in place by swapping neighbours that are out of order. [Open it](https://asm-editor.specy.app/examples?example=x86-bubble-sort) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/bubble-sort.asmproj)
- **Z80: Bubble sort**: Sorts an array in place by swapping neighbours that are out of order. [Open it](https://asm-editor.specy.app/examples?example=z80-bubble-sort) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/bubble-sort.asmproj)
- **M68K: Chiptune**: Plays a melody, bass line and drums on three sound channels. [Open it](https://asm-editor.specy.app/examples?example=m68k-chiptune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/chiptune.asmproj)
- **MIPS: Chiptune**: Plays a melody, bass line and drums on three sound channels. [Open it](https://asm-editor.specy.app/examples?example=mips-chiptune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/chiptune.asmproj)
- **RISC-V: Chiptune**: Plays a melody, bass line and drums on three sound channels. [Open it](https://asm-editor.specy.app/examples?example=risc-v-chiptune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/chiptune.asmproj)
- **Z80: Chiptune**: Plays a melody, bass line and drums on three sound channels. [Open it](https://asm-editor.specy.app/examples?example=z80-chiptune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/chiptune.asmproj)
- **M68K: Drawing a house**: Draws a house, sky and sun on the Screen. [Open it](https://asm-editor.specy.app/examples?example=m68k-drawing-a-house) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/drawing-a-house.asmproj)
- **MIPS: Drawing a house**: Draws a house, sky and sun on the Screen. [Open it](https://asm-editor.specy.app/examples?example=mips-drawing-a-house) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/drawing-a-house.asmproj)
- **RISC-V: Drawing a house**: Draws a house, sky and sun on the Screen. [Open it](https://asm-editor.specy.app/examples?example=risc-v-drawing-a-house) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/drawing-a-house.asmproj)
- **x86-64: Drawing a house**: Draws a house, sky and sun on the Screen. [Open it](https://asm-editor.specy.app/examples?example=x86-drawing-a-house) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/drawing-a-house.asmproj)
- **Z80: Drawing a house**: Draws a house, sky and sun on the Screen. [Open it](https://asm-editor.specy.app/examples?example=z80-drawing-a-house) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/drawing-a-house.asmproj)
- **M68K: Factorial and Fibonacci**: Computes factorials and Fibonacci numbers with subroutines that call themselves. [Open it](https://asm-editor.specy.app/examples?example=m68k-factorial-and-fibonacci) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/factorial-and-fibonacci.asmproj)
- **MIPS: Factorial and Fibonacci**: Computes factorials and Fibonacci numbers with subroutines that call themselves. [Open it](https://asm-editor.specy.app/examples?example=mips-factorial-and-fibonacci) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/factorial-and-fibonacci.asmproj)
- **RISC-V: Factorial and Fibonacci**: Computes factorials and Fibonacci numbers with subroutines that call themselves. [Open it](https://asm-editor.specy.app/examples?example=risc-v-factorial-and-fibonacci) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/factorial-and-fibonacci.asmproj)
- **x86-64: Factorial and Fibonacci**: Computes factorials and Fibonacci numbers with subroutines that call themselves. [Open it](https://asm-editor.specy.app/examples?example=x86-factorial-and-fibonacci) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/factorial-and-fibonacci.asmproj)
- **Z80: Factorial and Fibonacci**: Computes factorials and Fibonacci numbers with subroutines that call themselves. [Open it](https://asm-editor.specy.app/examples?example=z80-factorial-and-fibonacci) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/factorial-and-fibonacci.asmproj)
- **M68K: Flappy Bird**: Fly between the pipes: every tap flaps, and gravity does the rest. In assembly and, for RISC-V, in C as well. [Open it](https://asm-editor.specy.app/examples?example=m68k-flappy-bird) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/flappy-bird.asmproj)
- **MIPS: Flappy Bird**: Fly between the pipes: every tap flaps, and gravity does the rest. In assembly and, for RISC-V, in C as well. [Open it](https://asm-editor.specy.app/examples?example=mips-flappy-bird) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/flappy-bird.asmproj)
- **RISC-V: Flappy Bird**: Fly between the pipes: every tap flaps, and gravity does the rest. In assembly and, for RISC-V, in C as well. [Open it](https://asm-editor.specy.app/examples?example=risc-v-flappy-bird) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/flappy-bird.asmproj)
- **Z80: Flappy Bird**: Fly between the pipes: every tap flaps, and gravity does the rest. In assembly and, for RISC-V, in C as well. [Open it](https://asm-editor.specy.app/examples?example=z80-flappy-bird) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/flappy-bird.asmproj)
- **M68K: Graphics tour**: Every drawing task of the M68K screen on one picture, then the sound tasks, ported from EASy68K's own example. [Open it](https://asm-editor.specy.app/examples?example=m68k-graphics-tour) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/graphics-tour.asmproj)
- **M68K: Hello world**: Prints a greeting and a number to the console. [Open it](https://asm-editor.specy.app/examples?example=m68k-hello-world) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/hello-world.asmproj)
- **MIPS: Hello world**: Prints a greeting and a number to the console. [Open it](https://asm-editor.specy.app/examples?example=mips-hello-world) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/hello-world.asmproj)
- **RISC-V: Hello world**: Prints a greeting and a number to the console. [Open it](https://asm-editor.specy.app/examples?example=risc-v-hello-world) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/hello-world.asmproj)
- **x86-64: Hello world**: Prints a greeting and a number to the console. [Open it](https://asm-editor.specy.app/examples?example=x86-hello-world) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/hello-world.asmproj)
- **Z80: Hello world**: Prints a greeting and a number to the console. [Open it](https://asm-editor.specy.app/examples?example=z80-hello-world) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/hello-world.asmproj)
- **MIPS: Keyboard and display**: Echo typed characters through the memory-mapped display registers and paint cells of the bitmap display. [Open it](https://asm-editor.specy.app/examples?example=mips-keyboard-display) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/keyboard-display.asmproj)
- **RISC-V: Keyboard and display**: Echo typed characters through the memory-mapped display registers and paint cells of the bitmap display. [Open it](https://asm-editor.specy.app/examples?example=risc-v-keyboard-display) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/keyboard-display.asmproj)
- **M68K: Keyboard control**: A square on the Screen that you steer with the keyboard. [Open it](https://asm-editor.specy.app/examples?example=m68k-keyboard-control) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/keyboard-control.asmproj)
- **MIPS: Keyboard control**: A square on the Screen that you steer with the keyboard. [Open it](https://asm-editor.specy.app/examples?example=mips-keyboard-control) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/keyboard-control.asmproj)
- **RISC-V: Keyboard control**: A square on the Screen that you steer with the keyboard. [Open it](https://asm-editor.specy.app/examples?example=risc-v-keyboard-control) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/keyboard-control.asmproj)
- **x86-64: Keyboard control**: A square on the Screen that you steer with the keyboard. [Open it](https://asm-editor.specy.app/examples?example=x86-keyboard-control) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/keyboard-control.asmproj)
- **Z80: Keyboard control**: A square on the Screen that you steer with the keyboard. [Open it](https://asm-editor.specy.app/examples?example=z80-keyboard-control) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/keyboard-control.asmproj)
- **M68K: Keyboard move**: A square that moves while the arrow keys are held, reading which keys are down as a game does. [Open it](https://asm-editor.specy.app/examples?example=m68k-keyboard-move) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/keyboard-move.asmproj)
- **Z80: Keyboard move**: A square that moves while the arrow keys are held, reading which keys are down as a game does. [Open it](https://asm-editor.specy.app/examples?example=z80-keyboard-move) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/keyboard-move.asmproj)
- **M68K: Mouse paint**: Painting with the mouse: a brush under the pointer while the left button is held, red with Shift. [Open it](https://asm-editor.specy.app/examples?example=m68k-mouse-paint) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/mouse-paint.asmproj)
- **x86-64: Mouse paint**: Painting with the mouse: a brush under the pointer while the left button is held, its colour changed with the wheel. [Open it](https://asm-editor.specy.app/examples?example=x86-mouse-paint) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/mouse-paint.asmproj)
- **Z80: Mouse paint**: Painting with the mouse: a brush under the pointer while the left button is held, red with Shift. [Open it](https://asm-editor.specy.app/examples?example=z80-mouse-paint) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/mouse-paint.asmproj)
- **M68K: Number to string**: Converts a number to hexadecimal, decimal and binary text, then prints it. [Open it](https://asm-editor.specy.app/examples?example=m68k-number-to-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/number-to-string.asmproj)
- **MIPS: Number to string**: Converts a number to hexadecimal, decimal and binary text, then prints it. [Open it](https://asm-editor.specy.app/examples?example=mips-number-to-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/number-to-string.asmproj)
- **RISC-V: Number to string**: Converts a number to hexadecimal, decimal and binary text, then prints it. [Open it](https://asm-editor.specy.app/examples?example=risc-v-number-to-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/number-to-string.asmproj)
- **x86-64: Number to string**: Converts a number to hexadecimal, decimal and binary text, then prints it. [Open it](https://asm-editor.specy.app/examples?example=x86-number-to-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/number-to-string.asmproj)
- **Z80: Number to string**: Converts a number to hexadecimal, decimal and binary text, then prints it. [Open it](https://asm-editor.specy.app/examples?example=z80-number-to-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/number-to-string.asmproj)
- **RISC-V: Pac-Man**: The arcade game with its sound, in RISC-V assembly and in C, reading its pictures from BMP files. [Open it](https://asm-editor.specy.app/examples?example=risc-v-pacman) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/pacman.asmproj)
- **x86-64: PC speaker**: The opening of Für Elise on the PC speaker, one square-wave tone at a time. [Open it](https://asm-editor.specy.app/examples?example=x86-pc-speaker) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/pc-speaker.asmproj)
- **MIPS: Play a tune**: The first phrase of Ode to Joy, played from a table of notes. [Open it](https://asm-editor.specy.app/examples?example=mips-play-a-tune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/play-a-tune.asmproj)
- **RISC-V: Play a tune**: The first phrase of Ode to Joy, played from a table of notes. [Open it](https://asm-editor.specy.app/examples?example=risc-v-play-a-tune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/play-a-tune.asmproj)
- **x86-64: Play a tune**: The first phrase of Ode to Joy, played from a table of notes. [Open it](https://asm-editor.specy.app/examples?example=x86-play-a-tune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/play-a-tune.asmproj)
- **Z80: Play a tune**: The first phrase of Ode to Joy, played from a table of notes. [Open it](https://asm-editor.specy.app/examples?example=z80-play-a-tune) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/play-a-tune.asmproj)
- **M68K: Play sound files**: Writes a WAV file and a MIDI file with the file tasks, then plays both. [Open it](https://asm-editor.specy.app/examples?example=m68k-play-sound-files) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/play-sound-files.asmproj)
- **M68K: Reverse a string**: Reverses a zero-terminated string in place using two pointers. [Open it](https://asm-editor.specy.app/examples?example=m68k-reverse-a-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/reverse-a-string.asmproj)
- **MIPS: Reverse a string**: Reverses a zero-terminated string in place using two pointers. [Open it](https://asm-editor.specy.app/examples?example=mips-reverse-a-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/reverse-a-string.asmproj)
- **RISC-V: Reverse a string**: Reverses a zero-terminated string in place using two pointers. [Open it](https://asm-editor.specy.app/examples?example=risc-v-reverse-a-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/reverse-a-string.asmproj)
- **x86-64: Reverse a string**: Reverses a zero-terminated string in place using two pointers. [Open it](https://asm-editor.specy.app/examples?example=x86-reverse-a-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/reverse-a-string.asmproj)
- **Z80: Reverse a string**: Reverses a zero-terminated string in place using two pointers. [Open it](https://asm-editor.specy.app/examples?example=z80-reverse-a-string) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/reverse-a-string.asmproj)
- **M68K: Sampled sound**: A sound computed sample by sample, then played as a scale. [Open it](https://asm-editor.specy.app/examples?example=m68k-sampled-sound) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/sampled-sound.asmproj)
- **MIPS: Sampled sound**: A sound computed sample by sample, then played as a scale. [Open it](https://asm-editor.specy.app/examples?example=mips-sampled-sound) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/sampled-sound.asmproj)
- **RISC-V: Sampled sound**: A sound computed sample by sample, then played as a scale. [Open it](https://asm-editor.specy.app/examples?example=risc-v-sampled-sound) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/sampled-sound.asmproj)
- **x86-64: Sampled sound**: A sound computed sample by sample, then played as a scale. [Open it](https://asm-editor.specy.app/examples?example=x86-sampled-sound) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/sampled-sound.asmproj)
- **M68K: Snake**: Steer the snake to the food to grow it, without hitting a wall or its own body. [Open it](https://asm-editor.specy.app/examples?example=m68k-snake) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/snake.asmproj)
- **MIPS: Snake**: Steer the snake to the food to grow it, without hitting a wall or its own body. [Open it](https://asm-editor.specy.app/examples?example=mips-snake) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/snake.asmproj)
- **RISC-V: Snake**: Steer the snake to the food to grow it, without hitting a wall or its own body. [Open it](https://asm-editor.specy.app/examples?example=risc-v-snake) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/snake.asmproj)
- **Z80: Snake**: Steer the snake to the food to grow it, without hitting a wall or its own body. [Open it](https://asm-editor.specy.app/examples?example=z80-snake) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/snake.asmproj)
- **M68K: Subroutine with stack arguments**: Passes arguments on the stack and keeps a local variable in a stack frame. [Open it](https://asm-editor.specy.app/examples?example=m68k-subroutine-with-stack-arguments) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/subroutine-with-stack-arguments.asmproj)
- **MIPS: Subroutine with stack arguments**: Passes arguments on the stack and keeps a local variable in a stack frame. [Open it](https://asm-editor.specy.app/examples?example=mips-subroutine-with-stack-arguments) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/subroutine-with-stack-arguments.asmproj)
- **RISC-V: Subroutine with stack arguments**: Passes arguments on the stack and keeps a local variable in a stack frame. [Open it](https://asm-editor.specy.app/examples?example=risc-v-subroutine-with-stack-arguments) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/subroutine-with-stack-arguments.asmproj)
- **x86-64: Subroutine with stack arguments**: Passes arguments on the stack and keeps a local variable in a stack frame. [Open it](https://asm-editor.specy.app/examples?example=x86-subroutine-with-stack-arguments) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/subroutine-with-stack-arguments.asmproj)
- **Z80: Subroutine with stack arguments**: Passes arguments on the stack and keeps a local variable in a stack frame. [Open it](https://asm-editor.specy.app/examples?example=z80-subroutine-with-stack-arguments) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/subroutine-with-stack-arguments.asmproj)
- **M68K: Sum of an array**: Adds six numbers from an array using a pointer. [Open it](https://asm-editor.specy.app/examples?example=m68k-sum-of-an-array) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/sum-of-an-array.asmproj)
- **MIPS: Sum of an array**: Adds six numbers from an array using a pointer. [Open it](https://asm-editor.specy.app/examples?example=mips-sum-of-an-array) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/sum-of-an-array.asmproj)
- **RISC-V: Sum of an array**: Adds six numbers from an array using a pointer. [Open it](https://asm-editor.specy.app/examples?example=risc-v-sum-of-an-array) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/sum-of-an-array.asmproj)
- **x86-64: Sum of an array**: Adds six numbers from an array using a pointer. [Open it](https://asm-editor.specy.app/examples?example=x86-sum-of-an-array) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/x86/sum-of-an-array.asmproj)
- **Z80: Sum of an array**: Adds six numbers from an array using a pointer. [Open it](https://asm-editor.specy.app/examples?example=z80-sum-of-an-array) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/sum-of-an-array.asmproj)
- **M68K: Sum of two numbers**: Asks for two numbers in the console and prints their sum. [Open it](https://asm-editor.specy.app/examples?example=m68k-sum-of-two-numbers) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/m68k/sum-of-two-numbers.asmproj)
- **MIPS: Sum of two numbers**: Asks for two numbers in the console and prints their sum. [Open it](https://asm-editor.specy.app/examples?example=mips-sum-of-two-numbers) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/mips/sum-of-two-numbers.asmproj)
- **RISC-V: Sum of two numbers**: Asks for two numbers in the console and prints their sum. [Open it](https://asm-editor.specy.app/examples?example=risc-v-sum-of-two-numbers) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/risc-v/sum-of-two-numbers.asmproj)
- **Z80: Sum of two numbers**: Asks for two numbers in the console and prints their sum. [Open it](https://asm-editor.specy.app/examples?example=z80-sum-of-two-numbers) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/sum-of-two-numbers.asmproj)
- **Z80: TRS-80 bounce**: A block bouncing around the TRS-80's display, each frame composed in memory and copied in with one ldir. [Open it](https://asm-editor.specy.app/examples?example=z80-trs80-bounce) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/trs80-bounce.asmproj)
- **Z80: TRS-80 text**: Text and block graphics stored straight into the TRS-80's video memory. [Open it](https://asm-editor.specy.app/examples?example=z80-trs80-text) · [Project archive (.asmproj, a zip)](https://asm-editor.specy.app/examples/z80/trs80-text.asmproj)
