Skip to content

Instantly share code, notes, and snippets.

View cbpudding's full-sized avatar

Alexander Hill cbpudding

  • Maine
View GitHub Profile
@cbpudding
cbpudding / bf.s
Last active October 20, 2020 22:50
A small brainf*** interpreter written in MIPS Assembly
.data
buffer: .space 65536
memory: .space 256
.text
main:
la $a0, buffer # Get the source code to execute
li $a1, 65536
li $v0, 8
syscall
la $a0, memory # Initialize memory