NEW
Font size
WorksheetsassemblyLanguageChap3
Total questions: 10
Worksheet time: 5mins
What is the precedence level of a unary plus operator?
1
2
3
4
Calculate how many bytes for var1 if var1 is defined as
var1 BYTE 10, 10 dup (5), 20
3 bytes
7 bytes
12 bytes
70 bytes
Calculate how many bytes for var2 if var2 is defined as
var2 BYTE 10 DUP ("Hi")
2 bytes
10 bytes
20 bytes
40 bytes
Which of these are not identifier?
myVAR
_myVAR
@myVAR
&myVAR
inc var1
Operand involved in this statement is:
integer constant
constant expression
memory
register
add a, b
b can be any of the followings except:
register
constant
memory
reserved word
Calculate the size of the array as follow:
list WORD 1234h, 2345h, 3456h
ListSize = ($- list)/2
ListSize = $- (list/2)
ListSize = ($- list)/4
ListSize = $- (list/4)
Referring to the Assemble Link Execute cycle, which file is not generated from Step 2 to Step 4?
executable file
object file
link library file
map file
Which of these are not directives?
.data
.code
.stack
.count
Referring to the assemble-link execute cycle, which file is generated after step 2?
.asm
.exe
.obj
.map
