subject
Computers and Technology, 23.10.2019 18:00 lance31

He project will simulate a simple computer system consisting of a cpu and memory. the cpu and memory will be simulated by separate processes that communicate memory will contain one program that the cpu will execute and then the simulation wil end. problem details cpu it will have these registers: pc, sp, ir, ac, x, y. it will support the instructions shown on the next page of this document. it will run the user program at address 0. instructions are fetched into the ir from memory. the operand can be fetched into a local variable. each instruction should be executed before the next instruction is fetched. the user stack resides at the end of user memory and grows down toward address 0. the system stack resides at the end of system memory and grows down toward address 0. there is no hardware enforcement of stack size. the program ends when the end instruction is executed. the 2 processes should end at that time. the user program cannot access system memory (exits with error message) memory it will consist of 2000 integer entries, 0-999 for the user program, 1000-1999 for system code. it will support two operations read(address) - returns the value at the address write(address, data) - writes the data to the address memory will initialize itself by reading a program file.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
How can a broadcast station be received through cable and satellite systems?
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
The “rule of 72” is used to approximate the time required for prices to double due to inflation. if the inflation rate is r%, then the rule of 72 estimates that prices will double in 72/r years. for instance, at an inflation rate of 6%, prices double in about 72/6 or 12 years. write a program to test the accuracy of this rule. for each interest rate from 1% to 20%, the program should display the rounded value of 72/r and the actual number of years required for prices to double at an r% inflation rate. (assume prices increase at the end of each year.)
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
You know the right answer?
He project will simulate a simple computer system consisting of a cpu and memory. the cpu and memory...
Questions
question
Chemistry, 14.10.2020 14:01
question
Mathematics, 14.10.2020 14:01
question
Mathematics, 14.10.2020 14:01
question
Mathematics, 14.10.2020 14:01
Questions on the website: 13722367