Docsity

Computer Organization and Assembly Language Assignment - Indus University, Study notes of Computer Architecture and Organization

Partial preview of the text

Download Computer Organization and Assembly Language Assignment - Indus University and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Indus University, Karachi

Computer Organization & Assembly Language

Assignment

Spring 2021

Students Name:

Students ID: _

Batch:

Indus University, Karachi CLO-2: Evaluate different technique to gain Assembly language core knowledge. (C3, PO-3))

Assignment

Important Notes: ZERO Tolerance for plagiarism and cheating if found Assignment will be marked as “ZERO” Submission Guidelines: Marks: 10Hard copy + Soft copy should be submitted + asm. File should also be submitted to google classroomAssignment should be in Pdf file. Q1: Construct the program that increment and decrement the values store in 8–bit register by using LEA function also implement carriage return and offset message in your program. Q2: Construct a program that utilizes a loop to compute the first seven values of the Fibonacci number series 1,1,2,3,5,8,13, where Fn = Fn-1 + Fn-2 is the rule. The byte storage array named Fibonacci saves the remaining five items in the Fibonacci sequence in the memory exactly the same array. Q3: Write a program which ask user to enter a digit from (0 to 9 only) and then print the table of that number. The program look like this Please enter a digit = 3 Table of 3 will be print Q3: Write an assembly code that prints the following on the console using nested loop.

Indus University, Karachi

Indus University, Karachi