This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: add Address_of_twelve, Address of twelve, 11 done B. .data ints: .byte 0:25 Address_of_twelve: .word elenum: .word .text __start: la Address_of_twelve, Chars mul elenum, 11,4 #this calculates the offset since the array consists of ints add Address_of_twelve, Address of twelve, elenum done Chp.8 8.1 An instruction would require ……bits if two-address format were used in MAL. 8.2 Register $12 will have …. . After the code it executed 8.3 lw $8, label This instruction means that the contents of label are stored in $8 la $8, label This instruction means that the address of label is stores in $8 8.4 In SAL, .data A: .word B: .word C: .word I: .word 1 .text __start: For: bgt I, 20, End add A, A, B bgt A, 5, Next move C, A Next: add I, I, 1 b For End: done In MAL, .data...
View Full Document
- Winter '08
- $8, #This, mul elenum, single-percision floating point