Hack assembly programs can manipulate registers

Assignment Help Other Subject
Reference no: EM133144704

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).

4. 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, 2005

Reference no: EM133144704

Questions Cloud

Design a plan to engage company employees : A positive employee experience that ensure employees are engaged in their work and what the business is doing is key to the company's success.
What are the top five external influences : What are the top five external influences (factors in the environment external to your entity) that could affect your ability to administer the contract success
What is the most important trait that a person must have : First Part: What is the most important trait that a person must have for them to have good character, or virtue (if you like that term)?
Better option compared to export marketing : When can export selling prove to be a better option compared to export marketing? Explain with an example.
Hack assembly programs can manipulate registers : Hack assembly programs can manipulate registers, RAM, and I/O devices in the Hack Computer - infinite loop that listens to the keyboard input
Evaluate why change needed to occur : You've been hired as a consultant to develop strategies with supporting tactics to implement positive changes in the corporation you chose in Week 5.
Detailing the leadership and career progression : To waive the GMAT, we require a justification letter detailing the leadership and career progression you have experienced to warrant a graduate exam waiver.
Evaluate leadership effectiveness : Is leadership described as an intra-individual, dyadic, group, or organizational process?
Determine areas for improvement : Recall the readings and activities you have completed this week and research an academic video related to analyzing market data in an effort to determine areas

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