|
Whereas it may seem that the following questions are a bit too detailed, I will understand what's going on better if I discuss this by asking at least some questions.
I was wondering if you could explain a few things. What do li and la mean? What does the "syscall" do after blocks inside the hanoi procedure? What are the differences between registers named $v0 and $a0? What is the difference between $sp and $ra? Does the fact that pointers have numbers 0, 4, 8, 12, and 16 before them represent the fact that each pointer has size of 4? How can I understand the two operations in the beginning that are:
sub $sp, $sp, 4 # allocate space for stack pointer
sw $ra, 0($sp) # store stack pointer
specifically, what does subtracting 4 from $sp do and then what is 0($sp)?
|
Untitled by C. Donour Sizemore, 2000, Nov 08
to: