Building testbox

I tried using to build a testbox like I did in MIPS but it didn’t work. How do I build a testbox to test my function?