Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the following memory and register values for the IJVM machine discussed in class, Initial Values: Data Data . . 44 21 76 Address Data

image text in transcribed
image text in transcribed
image text in transcribed
Given the following memory and register values for the IJVM machine discussed in class, Initial Values: Data Data . . 44 21 76 Address Data (Word) Dec. 340 96 341 86 342 9 343 344 66 345 40 346 37 347 73 348 349 10 350 62 351 37 352 91 353 99 354 84 355 72 356 357 85 358 49 359 90 60 ox56 oxo9 ox2c Ox42 Ox28 Ox25 0x49 OX4C ox Ox25 OX5B 0x63 Ox54 Ox48 ox ox55 Ox31 0x5A Address Data (Byte) Dec. 980 54 981 982 100 983 16 984 36 985. 986 3 987 89 988 128 989 126 990 132 991 992 87 993 95 994 96 995 180 996 238 997 122 998 219 999 155 0x36 ox64 010 Ox24 015 ox59 0x7E ox84 ox57 OX5F 060 4 ox7 OXDB 15 MAR = 60 MDR = 67 PC = 995 MBR = 96 SP = 342 LV = 346 CPP = 351 TOS = 9 OPC = 71 H = 78 execute the following microinstructions assuming that Maini has already been executed. Maini: PC = PC + 1; fetch; goto (MBR) 1: MAR = SP = SP - 1; rd 2: H = TOS 3: MDR = TOS = MDR + H; wr; goto Maini After execution, fill in the boxes below with those registers (in the register order given above) that have changed and their final decimal value eg. MAR = 123. (Put a 0 in any unused boxes ) and their final decimal value e g MAR = 123. (Put a 0 in any unused boxes.) Then fill in the boxes below with those addresses (in ascending order) that have changed and their final decimal value separated by a space. Use the word address and not the byte address. e.g. 321 = 123. (Put a 0 in unused boxes.) Given the following memory and register values for the IJVM machine discussed in class, Initial Values: Data Data . . 44 21 76 Address Data (Word) Dec. 340 96 341 86 342 9 343 344 66 345 40 346 37 347 73 348 349 10 350 62 351 37 352 91 353 99 354 84 355 72 356 357 85 358 49 359 90 60 ox56 oxo9 ox2c Ox42 Ox28 Ox25 0x49 OX4C ox Ox25 OX5B 0x63 Ox54 Ox48 ox ox55 Ox31 0x5A Address Data (Byte) Dec. 980 54 981 982 100 983 16 984 36 985. 986 3 987 89 988 128 989 126 990 132 991 992 87 993 95 994 96 995 180 996 238 997 122 998 219 999 155 0x36 ox64 010 Ox24 015 ox59 0x7E ox84 ox57 OX5F 060 4 ox7 OXDB 15 MAR = 60 MDR = 67 PC = 995 MBR = 96 SP = 342 LV = 346 CPP = 351 TOS = 9 OPC = 71 H = 78 execute the following microinstructions assuming that Maini has already been executed. Maini: PC = PC + 1; fetch; goto (MBR) 1: MAR = SP = SP - 1; rd 2: H = TOS 3: MDR = TOS = MDR + H; wr; goto Maini After execution, fill in the boxes below with those registers (in the register order given above) that have changed and their final decimal value eg. MAR = 123. (Put a 0 in any unused boxes ) and their final decimal value e g MAR = 123. (Put a 0 in any unused boxes.) Then fill in the boxes below with those addresses (in ascending order) that have changed and their final decimal value separated by a space. Use the word address and not the byte address. e.g. 321 = 123. (Put a 0 in unused boxes.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managerial Accounting For Managers

Authors: Eric Noreen, Peter Brewer, Ray Garrison

6th Edition

1264100590, 9781264100590

More Books

Students also viewed these Accounting questions