0% found this document useful (0 votes)
59 views2 pages

Capital University of Science and Technology Department of Computer Science CS 2523: Computer Organization and Assembly Language (3) : Spring 2021

This document outlines an assignment for a computer organization and assembly language course. It includes 3 learning outcomes related to understanding microprocessor design, data representation in microprocessors, and implementing assembly programs. The assignment asks students to complete tasks involving converting numbers between decimal, binary, hexadecimal, and octal number systems. It also involves representing signed numbers in 8-bit binary and explaining overflow. The document provides guidelines for submission and notes the assignment should be completed individually without copying. It lists the objectives to gain knowledge of computer organization and data representation techniques.

Uploaded by

Usama Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views2 pages

Capital University of Science and Technology Department of Computer Science CS 2523: Computer Organization and Assembly Language (3) : Spring 2021

This document outlines an assignment for a computer organization and assembly language course. It includes 3 learning outcomes related to understanding microprocessor design, data representation in microprocessors, and implementing assembly programs. The assignment asks students to complete tasks involving converting numbers between decimal, binary, hexadecimal, and octal number systems. It also involves representing signed numbers in 8-bit binary and explaining overflow. The document provides guidelines for submission and notes the assignment should be completed individually without copying. It lists the objectives to gain knowledge of computer organization and data representation techniques.

Uploaded by

Usama Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Capital University of Science and Technology

Department of Computer Science

CS 2523: Computer Organization and Assembly Language (3): Spring 2021

Assignment 1: Basics of Computer Organization and Assembly Language, Data Representation


CLO 1 Define concepts in the design of microprocessor as state machine and designing its data path and its
controller.
CLO 2 Describe how the basic units of the Intel 8088 architecture work together to represent Integer Numbers,
Floating Numbers and register representation inside the microprocessor.
CLO 3 Implement assembly programs of intermediate complexity using the intel 8088 architecture. The student
should also be able to convert intermediate complexity program in high level language into assembly code.
Maximum Marks: 10 Instructor: Ms. Tayyaba Zaheer
Announcement Date: 22nd March 2021 Due Date: 29th March 2021 till 02:00 PM via Microsoft Teams
Guidelines:
You are required to submit the assignment file or folder as studentReg#_studenName via
Microsoft Teams.
Important Note:
1) Must not copy from other students, so do it all yourself.
2) Assignment should be hand written.
Objectives:
After completion of this Assignment, you will have gained basic knowledge of computer
organization and assembly. You will be able to understand different data representation techniques
used in computers.
Data Representation: Topic: Number Systems, and Conversion between Decimal, Binary, Hexadecimal,
and other bases. Related Reading: Class Lectures and Reading Material Shared with the assignment.
Tools/Software Requirement (Optional):
1. Microsoft Word.
2. emu8086.
Important Note:
1) Must not copy from other students, so do it all yourself.
Description:
Emu8086 is an 8086-microprocessor emulator and disassembler. Emu8086 permits to assemble,
emulate and debug 8086 programs (16bit/DOS).
Tasks:
Task#1: Number systems: (06 marks)
Question#1: Convert Decimal 25 to binary:
Answer:

Question#2: Convert Decimal 451 to octal form:


Answer:

Question#3: Convert Decimal 146 to hexadecimal:


Answer:

Page 1 of 2
Question#4: Convert Binary 010111012 to decimal number:
Answer:

Question#5: Convert Binary 10101012 to octal:


Answer:

Question#6: Convert Binary 00010111 in hexadecimal number:


Answer:

Question#7: Convert Octal 57468 to decimal:


Answer:

Question#8: Convert Octal 278 to a binary number:


Answer:

Question#9: Convert Octal 10028 to hexadecimal:


Answer:

Question#10: Convert Hexadecimal CA16 to decimal:


Answer:

Question#11: Convert Hexadecimal A2B16 to binary:


Answer:

Question#12: Convert Hexadecimal 10516 to octal:


Answer:

Task#2: Signed Numbers Representation: (02 marks)


Question: Find the signed magnitude of –130 using 8-bit binary sequence? If you think that -130 cannot
be represented in 8 bits using signed magnitude representation then justify your answer.
Solution:

Task#3: Read the file “A01ReadingMaterial” shared with this assignment and answer the following
questions: (02 marks)

Question#1: What are decimal, binary, octal and hexadecimal systems?

Question#2: Write the generic way to convert from decimal system to any other:

Question#3: Write the generic way to convert from any other system to decimal:

Question#4: How signed numbers can be represented? How overflow could happen in the given
scenario of subtraction of two numbers?

Question#5: In emu8086, how you could access the handy tools to convert numbers? Differentiate
between Base converter and Multi base calculator. What type of operations are supported or allowed?

Page 2 of 2

You might also like