Assembly is Also Tedious
Each line corresponds to one instruction
Procedure call is a pain
Forces the programmer to think like the computer
subu $sp,$sp,32
sw $ra,20($sp)
sw $fp,16($sp)
addu $fp,$sp,28
li $a0,10
jal fact
la $a0,$LC
move $a1,$v0
jal printf
lw $ra,20($sp)
lw $fp,16($sp)
addu $sp,$sp,32
Previous slide
Next slide
Back to first slide
View graphic version