Shift & Add Multiplication Table
Considering an 8-bit shift-and-add unsigned multiplier, as discussed in class.
Let X = 7310. What is X in 8-bit binary? _ Let Y = 1510. What is Y in 8-bit binary? _
What is X*Y in decimal? _ What is the product in binary?
SYSC 2001 - LAB 9
Review the instructions for Lab8, since this lab is an extension of the previous lab.
Make a copy of your lab8.asm file and call it lab9.asm. Modify the program to:
1. Load NUM into a register and shift it into normalized form (left-just
SYSC 2001 - LAB 7
What is polling?
Polling is a technique used to transfer data between the CPU and I/O devices.
Why do we need polling?
Sometimes, we need the system to transfer data to I/O devices. For example, consider a printer
that can only accept on
SYSC2001 Lab 10 Magic 8 Ball
Part 1: The timer subsystem and interrupts
Examine the file timer.asm. Get a sense for how it works and what it is doing. The help files
within Libra may be useful
What is strange about the location of the ISR? (Where would
SYSC 2001 LAB1
Note: TAs will ask you the questions in bold-red. Stop and think about each question.
Record your answer briefly on a sheet of paper or in a text file.
Part I: Printing ASCII Strings
Printing in Libra is very simple. There is a virtual disp
SYSC 2001 Lab 4 Searching a list
Part 1: Creating a flowchart
The Canadian Space Agency (CSA) is recruiting astronauts for their first mission to Mars, and youve applied. When you
applied, you were assigned an 8-bit application number (e.g. 8). There were
SYSC 2001 - LAB 8
Part 0: Precision IEEE-754
Review the Floating Point slides covering IEEE-754 representation. Over the next two labs, you will
develop a program to accept a signed decimal whole number, compute the IEEE-754 8-bit representation, and
SYSC 2001 LAB6
This week, you will convert the program from Lab5 to pass all subroutine parameters using the
stack, instead of using registers. We will also create a new subroutine, getSalary, which
returns an employees salary on the stack. Follow the ins
SYSC 2001 LAB5
This week, you will use indirect addressing modes to access elements of a record from an
array of structs. You will also learn how to call subroutines and save & restore register
states using the stack. Follow the instructions below. Write