Cool Shit to Write in Assembly

Long story short: I made a virtual machine and need some ideas for some assembly programs I can write as a demonstration. Something along the lines of a Fibonacci finder/Fizzbuzz.

fizzbuzz but every prime number it displays a text art goatse

>Something along the lines of a Fibonacci finder/Fizzbuzz.
why don't you try writing a fibonacci finder or fizzbuzz

Already did

Write a Scheme interpreter.

Sieve of Eratosthenes

Tic tac toe solver

A little simpler that that for now

Good idea

Write a program to encrypt and decrypt files.

Did you make an assembler, or did you just make a virtual machine that you have to program writing every memory location by hand?

If you didn't make an actual assembler, try writing a basic one that allows for some conveniences. If you did, try writing a simple programming language that compiles to your new virtual machine.

numeric root finder for polynomials

I'd have to load them into RAM somehow, but it's doable

I have a psudo-assembler written in C

Did you write your own assembler? If not, what assembler output does your VM take?

It's my own instruction set

Hailstone Sequence
Various List-structures
A primitive OS
Rewrite a common unix utility like cat
Factorial calc

Can you give us the source for the VM and the pseudo-assembler?

>prime sieve
>triangular numbers printed in a triangle
>monte carlo technique to derive pi
>derivative calculator
>x's and o's

Why?

I want to see it.

I don't really want to expose my work to Sup Forums's judgement, with all respect

Can you put pixels on a screen?
How about running around in a Wolfenstein 3D type dungeon?

It's currently a text-mapped display but I'm working on a bitmap

Game of Life or other cellular automata.

matrix multiplication
if you can, i recommend using SIMD instructions of the architecture yo are using

Try something that uses memory in an interesting way, like a linked list.
Or Sort an array of 2d vectors lexicographically.
Or if you want to be fancy, write another vm, so your vm can interpret itself.

write a stack machine inside it

-Find all the prime palindromes between 2 user specified numbers.
-String searching algorithm like Horsepool.
-Dot and cross product for arbitrarily large vectors.
-n-Body problem solver.
-A simple decision tree prompt, my personal favorite is "are you a horse: A helpful guide"

> I want hide my shitty code :^)

I did something like this, a VM with its own bytecode / instruction set. I haven't written an assembler but I have a Brainfuck compiler, written in C, that runs on the host machine and compiles to bytecode. You have to implement the eight Brainfuck commands in bytecode, and once it's done you have an easier way to write small programs for your VM.

>I didn't program anything and don't want Sup Forums to know.

Calculator or a string reverser? What do you think?

Tower of hanoi
Text art generator like figlet

Not making your software available means your software isn't free.
How does it feel that you're responsible for taking away the freedom from your piece of software?
Don't you think that software deserves to be free?
You should show some respect to your own code and give it the necessary freedom

>Black text on white background
Filthy subhuman.

Actually, it is free in a trivial sense: everyone who has a copy of the program is free to do anything with it. OP owns the copyright, so he has the four freedoms. He has no obligation to give anyone else a copy.

Play Doom.

It's the best color scheme for reading faggot

but, it's not.

Brainfuck interpreter

Forth interpreter and thank me later

if not forth, RPN calculator at least

Implement the railfence cypher

write a deassembler

a 64 bit LFSR

Then you can incorporate that into whatever graphical output you have (make pretty colors or something)

do cellular automata on a 64x64 grid using 64 64 bit registers