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

  Define what is the rationale to the changes of the diet

What are at least five systemic effects of chronic kidney disease? How would you modify the diet and what is the rationale to the changes of the diet

  Personal ethics statement

Identify your personal ethics, values, morals, and beliefs. Locate and read a code of ethics which is related to your major

  Identify the six toxicological principles that are applied

Identify the six toxicological principles that are applied in evaluating a poisoned individual. Give an example of two of these principles.

  Examine various leadership roles of strategic management

J/507/9464-STRATEGIC MANAGEMENT FOR HEALTH AND SOCIAL CARE-OTHM LEVEL 7 DIPLOMA IN HEALTH AND SOCIAL CARE MANAGEMENT.

  Discuss the findings of major studies of the patrol function

Given the findings of major studies of the patrol function, should the use of patrol continue at its current level

  Conduct an analysis of the current state of technology

For this assignment conduct an analysis of the current state of technology in health care and then assess how human resources can help employees develop the.

  Made within the constraints of many factors

The decision to retire is often a complicated one made within the constraints of many factors. Retirement trends are changing both out of want and necessity.

  Describe your own educational philosophy in detail

Describe your own educational philosophy in detail. Explain best practices that relate to your philosophy and describe how you will implement them.

  Athlete or over-trained athletes as coach

Describe a time when you were over-trained as an athlete or over-trained your athletes as a coach.

  Promotes employee''s motivation to achieve goals

You are an HR professional helping supervisors provide a climate that promotes employee's motivation to achieve goals. Put together a memo-type document to supervisors that will help them come to the realization that frequent feedback and recognition..

  What factors contribute to homelessness

What factors contribute to homelessness and what strategies would be effective to solve this problem? For the 3rd Edition, please discuss some of the ways.

  Describe the key problems and challenges

Please respond to the following: Describe the key problems and challenges involved in building a successful new venture in Stage I.

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