0% found this document useful (0 votes)
14 views1 page

Sheet 1 AL 2017-2018

The document outlines an assignment for 2nd year students in the Faculty of Information Systems and Computer Science at October 6 University, focusing on Assembly Language using the emu8086 program. It includes tasks for converting binary, hexadecimal, and decimal numbers, as well as writing a program that manipulates registers and memory locations. The assignment aims to enhance students' understanding of Assembly language mnemonics and programming concepts.

Uploaded by

mina
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)
14 views1 page

Sheet 1 AL 2017-2018

The document outlines an assignment for 2nd year students in the Faculty of Information Systems and Computer Science at October 6 University, focusing on Assembly Language using the emu8086 program. It includes tasks for converting binary, hexadecimal, and decimal numbers, as well as writing a program that manipulates registers and memory locations. The assignment aims to enhance students' understanding of Assembly language mnemonics and programming concepts.

Uploaded by

mina
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/ 1

October 6 university 2nd Year

Faculty of information system 2nd Term of 2017/2018


and computer science Assembly Language
_____________________________________________________________________________________
Sheet 1

1. Using emu8086 program:


a. Convert the following binary numbers into signed/unsigned decimal, hexadecimal
numbers and ASCII characters:
(1) 1111111101111110B (2) 10000010B (3) 0000000010000010B (4) 01111111B

b. Convert the following hexadecimal numbers into signed/unsigned decimal, binary


numbers and ASCII characters:
(1) 4161h (2) 80h (3) FF7Eh (4) 0082h (5) FFFFh (6) 7FFF

c. Convert the following unsigned/signed decimal numbers into binary, hexadecimal


numbers and ASCII characters:
(1) 130 (2) -130 (3) 28-1 (4) - 27
(5) 27-1 (6) 216-1 (7) – 215 (8) 215-1

d. Convert the ASCII characters of your name (first name, first letter of middle name
and family name) into binary, hexadecimal and decimal numbers.

2. Using the help of emu8086 program, learn the Assembly language mnemonics
(MOV, ADD, INC, DEC, SUB).

3. Using emu8086 program, write a program that perform the following:


a. Initialize the AX and BX registers by 100h and 200h respectively.

b. Add 50h from the contents of AX register then increase the result by one. Subtract
50h from the contents of BX register then decrease the result by one. Finally, swap
the data in the previous registers.

c. Save a data of 300h and 400h into the data segment memory locations addressed by
600h and its consecutive addresses respectively. Add the contents of the previous
memory locations, and save the result into the CX register.

d. Run the program and show the affected registers, flags and memory locations.

With My Best Wishes (Dr. Mamdouh F. M. Hendawy)

You might also like