Engr100 lab5.2 - Cici Lu Memory: memory[0] = 12 memory[1] =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Cici Lu Memory: Step: Instruction name: PC: Change: memory[0] = 12 1 cpta 4 memory[1] = 30 memory[30] = 12000 memory[2] = 32 memory[32+5] = memory[30] memory[3] = 31 memory[37] = 12000 memory[4] = 11 2 cpfa 8 memory[5] = 38 memory[42+2] = 700 memory[6] = 42 memory[38] = memory[44] memory[7] = 45 memory[38] = 700 memory[8] = 16 3 call memory[9] = 20 memory[39] = 8+4 = 12 memory[10] = 39 20 PC = addr0 = 20 memory[11] = 0 memory[12] = 1 6 add 16 memory[13] = 41 memory[41] = -100 + 197 memory[14] = 28 memory[28] = -100 memory[15] = 29 memory[29] = 197 memory[16] = 0 7 halt 20 memory[17] = 0 memory[18] = 0 memory[19] = 0 memory[20] = 2 4 sub 24 memory[21] = 40 memory[40] = -100-197 memory[22] = 28 memory[28] = -100 memory[23] = 29 memory[29] = 197 memory[24] = 17 5 ret PC = memory[39] memory[25] = 39 12 memory[26] = 0 memory[27] = 0 memory[28] = -100 memory[29] = 197 memory[30] = 12000 memory[31] = 5 memory[32] = 600 memory[33] = 599 memory[34] = 598 memory[35] = 597 memory[36] = 596 memory[37] = 10000
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/03/2012 for the course ENGR 100-250 taught by Professor Peterchen during the Winter '12 term at University of Michigan.

Page1 / 3

Engr100 lab5.2 - Cici Lu Memory: memory[0] = 12 memory[1] =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online