exit
can still be assembled successfully.
Explain what would happen when the program executes.
(15%)
END
statement?
(15%)
val1 DWORD 123h val2 BYTE 0ABh val3 WORD 4, 5lowest
Byte 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ... |
---|---|---|---|---|---|---|---|---|---|---|---|
... |
arraySize
:
(15%)
myArray DWORD 10 DUP( 10 DUP( ?, ? ) )
TEXTEQU
to create a symbol named string
for a string constant of repeating the word “Hello”, without the end-of-string symbol 0, 10 times and the word “World”, without the end-of-string symbol 0, 5 times by using the DUP
operator.
After the declaration, use the symbol when defining a string variable named myString
.
(20%)