I just need help with question 3. I make sure to givea thumbs up!!!
We structure computer as series of abstractions (levels), and cach abstraction (level) builds on the one below it. We are designing a computer and decide to adopt the following five-level structure. Level 4: High-level Programming Language C/lava Level 3: Assembly Language UVM Level 2: Machine Language (UVM) Level 1: Micro-Machine Mic-1 Microprogramming Language) Level 0: Gates and Circuits A user wrote a piece of C++/Java code (2 instructions in C++/JAVA), which is in Level-4 int sum = 0; for (i=0; i<10; i++) sum = sum + i; Please answer the following questions 3. [10 points) The designer decides to add one more IJVM instruction, POP3, to the system (Level 3 and 2), which pops the three top words from stack. Please help design a Mic-l microprogram segment that executes/interprets this POP3 IJVM instruction (note: don’t forget to adjust SP and TOS registers) SP D TOC = 0 SP → TOC = A Stack after POP3 Current stack Show transcribed image text We structure computer as series of abstractions (levels), and cach abstraction (level) builds on the one below it. We are designing a computer and decide to adopt the following five-level structure. Level 4: High-level Programming Language C/lava Level 3: Assembly Language UVM Level 2: Machine Language (UVM) Level 1: Micro-Machine Mic-1 Microprogramming Language) Level 0: Gates and Circuits A user wrote a piece of C++/Java code (2 instructions in C++/JAVA), which is in Level-4 int sum = 0; for (i=0; i
Expert Answer
Answer to I just need help with question 3. I make sure to give a thumbs up!!!…