Você está na página 1de 1

Islamic University Of Gaza Assembly Language

Faculty of Engineering Quiz 2 (Chapter 3)


Computer Department Time: 5 minutes.
Eng. Eihab S. El-Radie Date: 09/03/2015

Student Name: ………………..……… ID: ………………….. Grade: ……..

1. Which directive identifies the part of a program containing instructions?


a. .DATA b. .CODE c. .STACK d. .PROG
2. Which directive(s) are used when defining both signed and unsigned 64-bit
integers?
a. QWORD and SQWORD b. DWORD
c. QWORD d. DWORD and SDWORD
3. The following is a valid data definition statement:
str1 BYTE "This string is quite long!",0
a. True b. False
4. The following are both valid data definition statements:
List1 BYTE 10,20
BYTE 30,40
a. True b. False
5. The following sequence of statements is invalid:

.data
myByte BYTE 10
.code
mov al,myByte
a. True b. False
6. Which of the following defines a text macro named MESSAGE that contains
this string data?
"I'm good at this!",0
a. MESSAGE TEXTEQU <"I'm good at this!",0>
b. TEXTEQU MESSAGE <"I'm good at this!",0>
c. <"I'm good at this!",0> TEXTEQU MESSAGE
d. TEXTEQU <"I'm good at this!",0> MESSAGE