Customer Service Chat
Get quote & make Payment
Project 1, computer programming, Programming Languages
CSCI 3380 Project 1
For Mano’s Computer design, we have the following flowchart for fetch and decode phases:
Please write the code to simulate the computer to do all works listed in the figure with the following instructions available:
Figure 2 Instructions need to be carried out in this project
The Mano’s computer (16 bit system) contains Registers: AR, PC, DR, AC, IR, TR, E and Memory (4096*16). Suppose we only use the first 400 locations of the memory. You need to do the following things:
(1) Use random function to fill in the first 400 locations of the memory.
a. Start with the first Hex number (0~E)
b. After the first number is generated,
i. If the first number is 7, the rest 3 Hex number should be randomly choose one of the 12 register reference instruction number
ii. If the first number is not 7, the rest 3 Hex number should be randomly generated number that bounded by the first 400 memory locations we are using in this project.
(2) Design you way to implement instructions listed in Figure 2.
(3) Fill in the Registers Value with your preference besides PC.
(4) Use random function to choose the starting PC value. (Bounded by the first 400 locations of memory)
(5) Execute consecutively 5 instructions starting with the PC value decided in (4). For each instruction, you need print out all registers in each clock cycle (just like what we did in the class and quiz).
(6) Repeat one more time of instruction (4) and (5)
What to submit:
Hard Copy of the following stuff:
• A print out results of your program.
• Source code of your program.
Due Dates and Honor:
This project will be due by the beginning of the class on March/13/2012. This is an independent programming project, and it is very important that you understand and abide by the policy concerning programming projects. Remember, your personal honor and integrity is far more important than your grade on the project.
Posted Date: 3/12/2012 12:46:49 AM | Location : United States
Ask an Expert
Project 1, computer programming, Assignment Help, Ask Question on Project 1, computer programming, Get Answer, Expert's Help, Project 1, computer programming Discussions
Write discussion on Project 1, computer programming
Your posts are moderated
Write your message here..
#titl pseudocode and flowchart, a given number is prime or not
a given number is prime or not
Higher order differential equations, We'll start this section off with the ...
We'll start this section off with the material which most text books that will cover in this section. We will take the matter from the Second Order chapter and expand this out to n
C program with creation of child process using fork system, Problem 6. ...
Problem 6. Demonstrate how and when can you use the commands- vi, cat, chmod, grep, man, pwd, ps, kill, mkdir, rm demonstrating how and when the above 10 commands can be
Java Programming, How to i write a car rental program in jgrasp
How to i write a car rental program in jgrasp
Matlab project - beginners level, Can you provide help in solving error pro...
Can you provide help in solving error problems, with my matlab project?
Software problem program, On December 27, 2011, Seymour Gravel, at the urgi...
On December 27, 2011, Seymour Gravel, at the urging of his wife, Mary Walford, has brought you his preliminary figures for his business. Seymour carries on a business writing and e
Temperature Calculation system, Detailed Description: • The program will t...
Detailed Description: • The program will take temperature readings as input from user for specified number of consecutive days. • Program will store these temperature values into
We need help for build a price quote generator, We need help for build a Pr...
We need help for build a Price Quote Generator I am interested in two things (A) a web based system that will allow a user to enter the parameters of their contests (there are o
Implement a program that can draw graphs, 1. Implement a program where an e...
1. Implement a program where an ellipse follows the perimeter of the window. 2. Implement a program that can draw graphs, possibly following your plan from last week. Have it gr
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.