Computers and Technology
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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:30, caldonjoshhsms2061
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, rose6038
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
image
Computers and Technology, 24.06.2019 15:30, S917564
The idea that, for each pair of devices v and w, there’s a strict dichotomy between being “in range” or “out of range” is a simplified abstraction. more accurately, there’s a power decay function f (·) that specifies, for a pair of devices at distance δ, the signal strength f(δ) that they’ll be able to achieve on their wireless connection. (we’ll assume that f (δ) decreases with increasing δ.) we might want to build this into our notion of back-up sets as follows: among the k devices in the back-up set of v, there should be at least one that can be reached with very high signal strength, at least one other that can be reached with moderately high signal strength, and so forth. more concretely, we have values p1 ≥ p2 ≥ . . ≥ pk, so that if the back-up set for v consists of devices at distances d1≤d2≤≤dk, thenweshouldhavef(dj)≥pj foreachj. give an algorithm that determines whether it is possible to choose a back-up set for each device subject to this more detailed condition, still requiring that no device should appear in the back-up set of more than b other devices. again, the algorithm should output the back-up sets themselves, provided they can be found.\
Answers: 2
image
Computers and Technology, 25.06.2019 01:30, jeff6284
Ashort circuit locator should be periodically run along the cords used in a shop to check for shorts and open circuits. a.)true b.)false
Answers: 2
Do you know the correct answer?
He project will simulate a simple computer system consisting of a cpu and memory. the cpu and memory...

Questions in other subjects:

Konu
Mathematics, 11.02.2021 19:00
Konu
History, 11.02.2021 19:00
Konu
Health, 11.02.2021 19:00
Konu
Mathematics, 11.02.2021 19:00