0% found this document useful (0 votes)
9 views

SP_Lab Assignment IV

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

SP_Lab Assignment IV

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Computer Science and Information Technology

<System Programming>:<CSIWZC327 >


Assignment No. 4
1. Objective:
At the end of this lab session students will be:
a) Able to understand the concept of LC-3 assembler.
b) Its instruction set and working with the help of LC-3 simulator.
Pre-requisite:
a) Module 6 - Assembler,Loader and Linker
2. Important Instructions:
a. Experiment should be conducted on the BITS Nuvepro Cloud Lab only.
Experiments conducted outside this lab platform will not be evaluated.
b. Instructions on how to access and use the Nuvepro Cloud lab platform is
available in the document “Steps to access cloud based CS/IS virtual lab.pdf”.
c. While using the Nuvepro Cloud, save all your work in Persistent folder which
is available on the desktop.
d. The completed worksheet should be uploaded in Taxila (elearn) portal only.
Last date for uploading the document is <date>.
e. This worksheet/lab activity carries < weightage in percentage> of weightage
f. Refrain from copying or sharing documents with others. Any evidence of such
practice will attract severe penalty.
g. Any queries related to LAB Activities should be sent to <lead instructor email
id > and [email protected]
3. Lab Exercise:

Problem Statement:
Write an assembly language program to find the sum of two numbers
using LC3 and assemble, load and execute the same using the
LC3Simulator.

Steps to be followed:

a. Identify the instructions to take input for two numbers


b. Identify the instructions to add and store the sum.
c. Develop a LC3 program to find the sum and assemble,load and execute it using
LC3 simulator.

1
Task to be performed:

Task 1:Inputs can be fed for performing the sum in the program.

Task 2: Perform the sum and store it in the registers and display it.

Submission guidelines:

The student should be instructed to take a snapshot of the screen to showcase their usage
of the Nuvepro lab portal along with the required codebase and other needed information.
A sample is shown below:
Table of Inspection Report:

Set of Tasks Inspection Report


Task 1 Display the snapshots of assembling and loading.
Task 2 Display the snapshots of step-by-step execution of the program and
highlight the updated values of registers.

******

You might also like