I am aware of pushing a stack pointer but I am not sure of how to push all of the elements.
This is how I defined a stack pointer.
addi $sp, $sp, -24 s