Collection of examples/exercises of MIPS assembly programming for Linux.
Programs that we would like to implement (or merge if someone makes a pull request):
- chown/chmod (use of syscalls)
- wc (efficient IO)
- head/tail
- xargs (use of command line arguments)
- mktemp (use of random)
- print_float (way harder than it looks) - see print_float_wip branch
- use 0b for masks and binary literals
- use
addi $x, $zero, ninstead ofli $x, nwhenn < 2^16. - use macros for syscall (see
src/as/syscalls.asm) - use unsigned operations when dealing with memory (stack)