Hack assembly to change and store values

Assignment Help Computer Engineering
Reference no: EM133141138

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

Reference no: EM133141138

Questions Cloud

Parallel to reduce home preparation : Assume that the home you are building will require you to sell your existing apartment, what activities could be done in parallel to reduce the home preparation
Plan schedule management : Define activities. Identify at least 25 activities associated with your homebuilding project. Identify predecessors for each of your activities.
Difference between portfolio risk and stand-alone risk : Explain the difference between portfolio risk and stand-alone risk. Explain the distinction between a stock's price and its intrinsic value.
Relationship between risk and return on investment : What is the relationship between risk and return on investment (ROI)? What level of risk are you currently able to accept?
Hack assembly to change and store values : In this task, you will be using Hack assembly to change and store values in registers and RAM, and carry out some arithmetic operations
How does this relate to what you already know : Why do you think your course team wants you to learn this - Please include evidence that you reached the minimum required score in each self- assessment weekly
Hack assembly programs - manipulate registers : Using your knowledge gained from the learning materials and learning sessions in week 6, load the given Flip.asm into the CPU Emulator.
Advanced technical certifications or specialisations : Review the Stepping Stones model and conclude your task with a brief statement about your next career step including what you might do
Conduct a small research project : Conduct a small research project aiming to answer a question related to a topic in SIT111. Create a plan to outline the question and method for your research

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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