This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 0000000000110000 x300a 1111111111000110 x300b 1111001111111100 x300c 1111001111111111 Part b Outputs 0123456789 to the console. Problem 3 A determines whether or not the branch will be taken. Problem 4 0110 101 011 001001 Problem 5 The linkage back to the main program is lost. ( JSR B overwrites R7 which contains the return link.) Problem 6 Bug 1 .FILL x30000 Too big value, cannot be represented in 16 bits. Assemble-time error. Bug 2 JSR SQRT SQRT is not on the same page as instruction JSR SQRT . Link-time error. Problem 7 Filled blanks in order: LD R3, NEGENTER STR R0, R1, #0 ADD R1, R1, #1 STR R2, R1, #0 Note that .BLKW does NOT initialize a memory location with 0's....
View Full Document
- Fall '06
- Electrical Engineering, SEPTA Regional Rail, Department of Electrical and Computer Engineering University of Texas, Onur Mutlu, Kathy Buchheit, x300a x300b x300c, JSR SQRT SQRT