Lab2 - Abstract: The purpose of this lab was to grasp a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Abstract: The purpose of this lab was to grasp a solid understanding of the MOVE instructions by using it to load numbers into registers and perform the allowed operations on the registers. The allowed operations being addition, subtraction, and shifting, because of the complications multiplication would cause. Procedure: The first step taken was to create a rough draft of the program that followed the order of operations stated. These operations were the standard mathematical order of operations, also know as PEMDAS. The rough draft should consist of all the operations needed to customize the program to fit the specifications given by the lab. The first would be to create constants for the numbers -18, 11, 13, 8, 35, and 3. The next step would be to move the numbers into registers as needed, starting with the number 11. That number would then be shifted by two. That number would be then stored in another register. The next number after that would be the 8 and it would need to be stored in a register and
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Lab2 - Abstract: The purpose of this lab was to grasp a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online