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..
Explain the applet element, Explain the applet Element ? Applets are em...
Explain the applet Element ? Applets are embedded in web pages by using the and tags. The APPLET element is same to the IMG element. Like IMG APPLET references a source fil
Explain what the return value of fork-shell programming, Simple Shell ...
Simple Shell In this LAB, you will explore and extend a simple Unix shell interpreter. In doing so, you will learn the basics of system calls for creating and managing process
1 real and 2 complex eigenvalues, 1 Real and 2 Complex Eigenvalues ...
1 Real and 2 Complex Eigenvalues From the real eigenvalue/vector pair, l 1 and ?h 1 e l1 t ?h 1 We find the other two solutions in identical manner which we did
What is url describe their protocol, What is URL describe theri protocol? ...
What is URL describe theri protocol? URL basicallt stands for uniform resource locator. A URL is a pointer to a particular resource on the Internet at a particular location.
Mvc framework, MVC Framework The ASP.NET MVC Structure is a web program fra...
MVC Framework The ASP.NET MVC Structure is a web program framework that tools the model-view-controller (MVC) design. According to ASP.NET, it allows application designers to devel
ARM LANGUAGE, I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME
I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME
Shell script to print multiplication table of given number, Normal 0 ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Solve the given initial value problem, Solve the following initial value pr...
Solve the following initial value problem y (3) - 5y'' - 22y' + 56 y= 0; y(0) = 1; y'(0) = -2; y''(0) = -4 Solution : r 3 - 5r 2 - 22r + 56 = (
Visual logic, how much it will cost? i need learn how to make rightsided tr...
how much it will cost? i need learn how to make rightsided triangle in forloop
Read file in Perl, These are the specifications for your Perl program: 1. ...
These are the specifications for your Perl program: 1. The file containing your program must be named cookiemgr.pl 2. It must be invoked as: cookiemgr.pl cookies_file [options]
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
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.