A timer written entirely in MIPS assembly