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..
Determine that the processes are iterative or recursive, Each of the follow...
Each of the following two procedures defines a method for adding two positive integers in terms of the procedures inc, which increments its argument by 1, and dec, which decrement
Cookies management with perl, One of the main strengths of the Perl program...
One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program tha
Power of mobile applications, BACKGROUND: This assignment illustrates t...
BACKGROUND: This assignment illustrates the power of mobile applications. OBJECTIVES: 1. Mobile applications DESCRIBED TASK: This is a single part assignment.
C++, Have the user input two values. Store them in variables called saving...
Have the user input two values. Store them in variables called savings and expenses, both of data type double. If expenses is less than savings, subtract expenses from savings, o
Java swing, Expertsmind brings you unique solution in java assignments ...
Expertsmind brings you unique solution in java assignments Swing Move is the primary Java GUI gadget tool set. It is part of Oracle's Java Groundwork Sessions (JFC) - an A
Develop html code create web page of blue color , 1. Develop an HTML code ...
1. Develop an HTML code to create a Web page of blue color & display links in red color. 2. Develop an HTML code to create a Web page which contains an image at its center.
CGI mailer Script, i neeed an CGI Script that send mass emails i need this...
i neeed an CGI Script that send mass emails i need this input fields Sender Name: Sender Email: Subject: Message: choose (HTML Or text ) , by default HTML Emails and send bu
Document type definition schema, Create a DTD which describes the structure...
Create a DTD which describes the structure of the document which you prepared in Question 1. Make sure that you use all appropriate DTD ingredients to constrain valid documents as
Assembly, Write an assembly program that computes Fibonacci numbers 2-5. a....
Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO
Design a address book, Consider the operation of a line of supermarket chec...
Consider the operation of a line of supermarket checkouts and the profiles of customers and their shopping baskets. Use a random number generator to create the data for these profi
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.