Hide menu

Lab Assignment 1: Assembly programming

Table of Contents

Objective

The purpose of this assignment is to get to know how to write programs in an assembly language. The assembly language is tightly dependent on the given CPU architecture. To see this, in this lab we two different CPU architectures and ask you to write assembly programs for these two different CPU architectures.

Theoretical Background

You should review the folowing resources before you start working on this lab:
  • Lecture notes on assembly programming
  • Lesson notes

Assignments

  1. Using the following CPU simulator solve the following set of problems. The Instruction Set for this CPU architecture is available on the following link
  2. Using the following IC 8 simulator solve the following set of problems. Instructions on how to simulate and write programs for this CPU architecture are available on the following link

What to report

For each problem that you have solved, report:
  • How have you derived the algorithm
  • Assembly code

Page responsible: Unmesh Bordoloi
Last updated: 2012-10-24