You are on page 1of 1

Faculty of Computers and Information Technology

Assembly Sheet
1234-

What is the size of a segment? Why?


State the bus systems and explain each one of them?
State the general purpose registers and explain each one of them?
What is the difference between:
Fourteen DB 14
Fourteen DW 14
Fourteen DD
14
5- Create a data segment and define the following numeric values in data items named
ITEM1 through ITEM5, respectively
a. A 1-byte item containing the hex equivalent to decimal 71
b. A 2-byte item containing an undefined value
c. A 4-byte item containing the hex equivalent to decimal 7524
d. A 1-byte item containing the binary equivalent to decimal 47
e. An item containing the consecutive word values 6, 9, 14, 18, 23, 29, and 38
6- Write an assembly program that can multiply variables multiplicand and
multiplier that have values 2345 H and 9876 H respectively and save the result at
variable result
7- Write an assembly program that divide the unsigned byte of memory location
NUMB1 by the unsigned contents of memory location NUMB2, then store the
Quotient in location ANSQ and store the remainder in location ANSR.
8- Find the range of values of unsigned numbers that when we add to 58 H we get
carry?
9- Find the contents of the registers as a result of the following instructions:I.
II.

The contents of bx = 3785 H, AND bx , 2791 H


The contents of bx = F481 H, ax = C2A6 H , ADD bx , ax

III.

The contents of ax = E931 H, bx = B305 H, SUB ax , bx

IV.

The contents of bx = 457D H, ax = 1000H, MUL bx

V.

The contents of bx = 683B H, ax = 0010H, MUL bx

You might also like