0% found this document useful (0 votes)
127 views90 pages

ICT 2101 Lab Report

This document contains instructions for a lab report assignment for the module ICT2101 Computer Organization. It is worth 20% of the total coursework assessment. The assignment involves completing 6 labs on topics including binary and hexadecimal conversion, binary arithmetic, and introduction to EMU8086 assembly language. Students are required to show their working and document their code. The report is due on June 9th 2023 and must be submitted online through Turnitin to check for plagiarism.

Uploaded by

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

ICT 2101 Lab Report

This document contains instructions for a lab report assignment for the module ICT2101 Computer Organization. It is worth 20% of the total coursework assessment. The assignment involves completing 6 labs on topics including binary and hexadecimal conversion, binary arithmetic, and introduction to EMU8086 assembly language. Students are required to show their working and document their code. The report is due on June 9th 2023 and must be submitted online through Turnitin to check for plagiarism.

Uploaded by

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

SCHOOL OF

COMPUTING (SOC)
Lab Report (20%)
Module’s Information:

Module ICT2101 Computer Organization


Session April 2023
Programme DITN
Ms. Kavitha Thamadharan
Lecturer
(Email: [email protected] )
Coursework
Individual
Type
Percentage 20% out of 60%
Hand-out Date 14th April 2023
Due Date 9th June 2023

Student’s Declaration:

I declare that:
 I understand what is meant by plagiarism.
 This assignment is all my own work and I have acknowledged any use of the published
or unpublished works of other people.
 I hold a copy of this assignment, which I can produce if the original is lost or damaged.

[Name/ID] _Rachel Ng Ker Xin


___________________________________________________
[Signature] ___rachel____________________ [Date]
____9/6/23_________________

Learning Outcomes Assessed:


Write assembly language in assembly language environment with keyboard input and text screen
CLO2 output and mouse control and graphics.

Total
Assessment Criteria Marks
Marks
1. Lab 2: Binary and Hexadecimal Conversion 5

INTI International College Penang 1


SCHOOL OF

2. Lab 3: Binary Arithmetic and Twos Complement 10

3. Lab 4: Introduction to EMU8086 25


4. Lab 5: Basic Instructions 30
5. Lab 6: Memory Registers and Other EMU8086 Instructions 30
Total
(100%)
COMPUTING (SOC)

Description of Assignment:

This is an individual assignment. Kindly complete all the exercises and self challenge given in
the following lab files:

1. Lab 2: Binary and Hexadecimal Conversion


2. Lab 3: Binary Arithmetic and Twos Complement
3. Lab 4: Introduction to EMU8086
4. Lab 5: Basic Instructions
5. Lab 6: Memory Registers and Other EMU8086 Instructions

The FORMAT of the assignment should be Font Name/Size: Times New Roman, 12pt; Line
spacing of 1.5; Justified (Alignment); Page Number should be typed; the assignment must be
submitted ONLINE only.

The report must be submitted to Turnitin in Canvas to check for plagiarism percentage. If more
than 20%, students are required to justify and provide valid reasons.

End of Assignment

INTI International College Penang 2


SCHOOL OF

COMPUTING (SOC)
Marking Rubric:

Criterion Excellent (70 – 100) Average (40 – 69) Poor (0 – 39)


The calculations are The workings for the The workings for the
thorough and clearly questions are shown questions are not
Lab 2 Output written with correct clearly, however shown. Student only
Correctness answers. there are some minor produce the answers
errors. to the questions in
this lab activity.
The calculations are The workings for the The workings for the
thorough and clearly questions are shown questions are not
Lab 3 Output written with correct clearly, however shown. Student only
Correctness answers. there are some minor produce the answers
errors. to the questions in
this lab activity.
No errors, program Minor details of the Program only
works correctly and program specification functions correctly in
Lab 4 - 6 Output
meets the are violated, program very limited cases or
Correctness
specifications. functions incorrectly not at all.
for some inputs.
The report is very The report is lack of There is no
Lab 4 - 6 Output
clearly explained and details in terms of explanation for the
Documentation
in detail. explanation. code produced.

INTI International College Penang 3


SCHOOL OF

ICT 2101 lab report solutions

Lab 2: Binary and Hexadecimal Conversion

Binary numbers

Dec to Bin

INTI International College Penang 4


SCHOOL OF

INTI International College Penang 5


SCHOOL OF

INTI International College Penang 6


SCHOOL OF

Bin to Dec

INTI International College Penang 7


SCHOOL OF

INTI International College Penang 8


SCHOOL OF

INTI International College Penang 9


SCHOOL OF

Hexadecimal numbers

Dec to Hex

INTI International College Penang 10


SCHOOL OF

INTI International College Penang 11


SCHOOL OF

INTI International College Penang 12


SCHOOL OF

Hex to Dec

INTI International College Penang 13


SCHOOL OF

INTI International College Penang 14


SCHOOL OF

Hexadecimal numbers

Bin to Hex

INTI International College Penang 15


SCHOOL OF

Hex to Bin

Lab 3: Binary Arithmetic and Twos Complement

INTI International College Penang 16


SCHOOL OF

INTI International College Penang 17


SCHOOL OF

INTI International College Penang 18


SCHOOL OF

INTI International College Penang 19


SCHOOL OF

INTI International College Penang 20


SCHOOL OF

INTI International College Penang 21


SCHOOL OF

INTI International College Penang 22


SCHOOL OF

INTI International College Penang 23


SCHOOL OF

INTI International College Penang 24


SCHOOL OF

Lab 4: Intro to EMU 8086

1)

Instructions Ax Bx
H L H L

Mov ax, 30 00 1E 00 00

Add ax, 15 00 2D 00 00
Mov bx, 575 00 2D 02 3F

Sub bx, 225 00 2D 01 5E

Mul bx 3D 86 01 5E

Add ax, 210 3E 58 01 5E

INTI International College Penang 25


SCHOOL OF

2)

INTI International College Penang 26


SCHOOL OF

Ax Bx

Instructions
H L H L

Mov bx, 250 00 00 00 FA

Sub bx, 215 00 00 00 23


Mov ax, 15 00 0F 00 23

Mul bx 02 0D 00 23

Sub ax, 10 02 03 00 23

INTI International College Penang 27


SCHOOL OF

INTI International College Penang 28


SCHOOL OF

3)

Instructions Ax Bx
H L H L

Mov ax, 165 00 A5 00 00

Add ax, 85 00 FA 00 00

Mul bx, 15 00 00 00 00

Sub ax, 15 FF F1 00 00

INTI International College Penang 29


SCHOOL OF

INTI International College Penang 30


SCHOOL OF

4)

INTI International College Penang 31


SCHOOL OF

Instructions Ax Bx

H L H
L

Mov bx, 200 00 00 00 C8


Add bx, 225 00 00 01 A9

Mov ax, 15 00 0F 01 A9

Mul bx 18 E7 01 A9

Add ax, 175 19 96 01 A9

INTI International College Penang 32


SCHOOL OF

INTI International College Penang 33


SCHOOL OF

5)

Instructions Ax Bx
H L H L

INTI International College Penang 34


SCHOOL OF

Mov ax, 36 00 24 00 00

Add bx, 375 00 24 01 77

Add ax, 187 00 DF 01 77

INTI International College Penang 35


SCHOOL OF

INTI International College Penang 36


SCHOOL OF

Lab 5: Basic Instructions

1.
a)

INTI International College Penang 37


SCHOOL OF

INTI International College Penang 38


SCHOOL OF

INTI International College Penang 39


SCHOOL OF

b)

INTI International College Penang 40


SCHOOL OF

INTI International College Penang 41


SCHOOL OF

INTI International College Penang 42


SCHOOL OF

c)

INTI International College Penang 43


SCHOOL OF

INTI International College Penang 44


SCHOOL OF

2)

INTI International College Penang 45


SCHOOL OF

a.

INTI International College Penang 46


SCHOOL OF

INTI International College Penang 47


SCHOOL OF

b)

INTI International College Penang 48


SCHOOL OF

INTI International College Penang 49


SCHOOL OF

c)

INTI International College Penang 50


SCHOOL OF

d)

INTI International College Penang 51


SCHOOL OF

INTI International College Penang 52


SCHOOL OF

e)

INTI International College Penang 53


SCHOOL OF

INTI International College Penang 54


SCHOOL OF

INTI International College Penang 55


SCHOOL OF

f)

INTI International College Penang 56


SCHOOL OF

g)

INTI International College Penang 57


SCHOOL OF

INTI International College Penang 58


SCHOOL OF

h)

INTI International College Penang 59


SCHOOL OF

INTI International College Penang 60


SCHOOL OF

INTI International College Penang 61


SCHOOL OF

i)

INTI International College Penang 62


SCHOOL OF

INTI International College Penang 63


SCHOOL OF

3.

INTI International College Penang 64


SCHOOL OF

INTI International College Penang 65


SCHOOL OF

a.

INTI International College Penang 66


SCHOOL OF

b.

INTI International College Penang 67


SCHOOL OF

c)

INTI International College Penang 68


SCHOOL OF

d)

INTI International College Penang 69


SCHOOL OF

e)

INTI International College Penang 70


SCHOOL OF

f)

INTI International College Penang 71


SCHOOL OF

INTI International College Penang 72


SCHOOL OF

INTI International College Penang 73


SCHOOL OF

g)

INTI International College Penang 74


SCHOOL OF

INTI International College Penang 75


SCHOOL OF

h)

INTI International College Penang 76


SCHOOL OF

i)

INTI International College Penang 77


SCHOOL OF

j.

INTI International College Penang 78


SCHOOL OF

Lab 6: Memory Registers and Other EMU 8086 instructions

1.

INTI International College Penang 79


SCHOOL OF

2.

INTI International College Penang 80


SCHOOL OF

3)

INTI International College Penang 81


SCHOOL OF

4)

INTI International College Penang 82


SCHOOL OF

5)

6)

INTI International College Penang 83


SCHOOL OF

i)

INTI International College Penang 84


SCHOOL OF

ii)

INTI International College Penang 85


SCHOOL OF

INTI International College Penang 86


SCHOOL OF

iii)

iv)

INTI International College Penang 87


SCHOOL OF

v)

INTI International College Penang 88


SCHOOL OF

INTI International College Penang 89


SCHOOL OF

INTI International College Penang 90

You might also like