Multiplication program in hack assembly task

Assignment Help Other Subject
Reference no: EM133137970

SIT111 Computer Systems - Deakin University

Task - Multiplication Program in Hack Assembly

Overview

Hack assembly programs (*.asm code) can manipulate registers, RAM, and I/O devices in the Hack Computer. In this task, you will be using Hack assembly to change and store values in registers and RAM, and carry out some arithmetic operations.

Task requirements

a. Go through week 7 class materials on Cloud Deakin & complete the problems in week 7 active learning sessions, so that you get an understanding of how to complete this task.
b. Read the task instructions

Task Instructions

1. Using your knowledge gained from the learning materials and learning sessions in week 7, write a Hack assembly program Mult.asm to multiply two integer values.

2. The inputs of this program are the current values stored in R0 and R1 (i.e., the two top RAM locations).

3. The program must compute the product R0*R1 and store the result in R2. Assume that R0>=0, R1>=0, and R0*R1<32768. Your program need not test these conditions, but rather assume that they hold.

4. Use the provided Mult.tst and Mult.cmp test scripts in task resources to test your implementation via the CPU Emulator tool, as shown in the lecture videos.

5. In a document, explain how you arrived at the solution (1 page max).

6. Upload the code and document to OnTrack

Reference

Nisan, Noam, and Shimon Schocken. The Elements of Computing Systems : Building a Modern Com- puter from First Principles MIT Press, 2005loyd, L., Thomas. Digital Fundamentals. Prentice-Hall International, 20031

Task - I/O-Handling Program in Hack Assembly

Overview

Hack assembly programs (*.asm code) can manipulate registers, RAM, and I/O devices in the Hack Computer. In this task, you will be using Hack assembly to manipulate the screen, depending on the keyboard input.

Task requirements

a. Go through week 7 class materials on Cloud Deakin & complete the problems in week 7 active learning sessions, so that you get an understanding of how to complete this task.
b. Read the task instructions.

Task Instructions

1. Using your knowledge gained from the learning materials and learning sessions in week 7, write a Hack assembly program Fill.asm to blacken the entire screen, depending on the keyboard input.
• When a key is pressed (any key), the entire screen should be black, that is, the program should set every pixel to black. When no key is pressed, the screen should be cleared (set to white).
• This program runs an infinite loop that listens to the keyboard input.
• You may choose to blacken and clear the screen in any spatial order, as long as pressing a key continuously for long enough will result in a fully blackened screen and not pressing any key for long enough will result in a cleared screen.
• This program has a test script (Fill.tst) but no compare file-it should be checked by visibly inspecting the simulated screen.
2. Use the provided test scripts in task resources to test your implementation via the CPU Emulator tool, as shown in the lecture videos. There is a manual test script (Fill.tst) without a corresponding compare file, where you need to check the simulated screen visually for correct behaviour. Use the FillAutomatic.tst file to do automated testing.
3. In a document, explain how you arrived at the solution (1 page max).

Task - Reflect on Your Progress & Learning Plan

Overview

This is a simple task to review your progress and your learning plan regularly together with the teaching team. This will help us ensure that you are on track, and that the teaching team is aware of any difficulty that you might face.
We provide a few prompting questions to help you. These questions ask about what you did, how you feel you are progressing, and whether you anticipate any issue. Please give a brief answer to the provided questions.
Task requirements
a. Read the task instructions

Task Instructions

1. Reflecting on your weeks 4-7 in the unit, and your learning goals, provide answers to the following questions:
a) Which OnTrack tasks have you submitted? How many are marked as ‘complete'? Are there any overdue tasks?
b) What worked well with your previous learning plan (in 3.4P)?
c) What didn't work as well as planned?
d) How did/could you overcome these obstacles?
e) What risks do you anticipate impacting negatively on your study in the next few weeks? f) What strategies are you putting in place to mitigate these risks?
2. Do you think your learning plan needs to be updated? If so please include the updated plan.
3. Please do not write more than 1 page in 12 point font.
4. Write your answer in a text file/document, covert to PDF and submit to OnTrack.

Note: You can change your target grade at any time. You could change learning plans again as you progress further.

Attachment:- Computer Systems Assignment.rar

Reference no: EM133137970

Questions Cloud

Auditing concepts and auditing methods : Use risk-based auditing approach, auditing concepts and auditing methods learnt in this unit to conduct this investigation and report
Aspects of needs analysis in bank of baroda : It has been a long and eventful journey of almost a century across 21 countries. Starting at 1908 from a small building in Baroda to its new hi-rise and hi-tech
Recruiting and retaining health care professionals : Discuss and explain four voluntary benefits that an organization will provide to its employees and why those benefits are important in recruiting and retaining
Define good practice for the use of call recording : Work in groups. You are the management team at Delaney. You have heard rumors that your main client, a major European car-hire company, is investigating an alte
Multiplication program in hack assembly task : Handling Program in Hack Assembly and Multiplication Program in Hack Assembly - write a Hack assembly program Mult.asm to multiply two integer values
Different roles in an organisational performance development : - Explain the different roles in an organisational performance development
Determine manon provincial income tax deduction : V. Determine Manon's provincial income tax deduction
Activities of various public or government leaders : Recently, the news has highlighted the activities of various public or government leaders. Depending upon the source of information, the various leaders have b
Describe the concept of discrimination : Describe the concept of discrimination and how this relates to your requirements of your requirement and the requirements of your employer?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd