Part 1
Part 2
Part 3
Part 4
Part 5
100
This directive identifies the part of a program containing instructions
What is .CODE
100
This defines a text macro named MESSAGE that contains "I'm good at this!",0
What is : MESSAGE TEXTEQU <"I'm good at this!",0>
100
T/F Operands can be constant or constant expression, register name, and variable name ( memory)
What is TRUE
100
The basic parts of an instruction, in order from left to right, are: a. label, mnemonic, operand(s), comment b. comment, label, mnemonic, operand(s) c. label, mnemonic, comment d. mnemonic, operand(s), comment
What is : a. label, mnemonic, operand(s), comment
100
This directive can by used in place of the BYTE directive for unsigned integers
What is : DB
200
This definition creates an array of unsigned bytes containing decimal 10, 20, and 30, named myArray.
What is : myArray BYTE 10, 20, 30
200
This directive is used when defining 64-bit IEEE long reals
What is : REAL8
200
This utility program reads an assembly language source file and produces an object file.
What is : ASSEMBLER
200
Which of the following are true about assembly language instructions and directives? a. a directive is executed at runtime b. an instruction is executed at runtime c. a directive is executed at assembly time d. an instruction is executed at assembly time
What is b. an instruction is executed at runtime AND c. a directive is executed at assembly time
200
This directive is used when defining 80-bit integers
What is : TBYTE
300
In the following data definition, assume that List2 begins at offset 2000h. myValues WORD 3, 4, 5, 6 What is the offset of the third value (5)?
What is 2004h
300
This file contains a list of program symbols
What is : Listing File
300
A map file is produced by this utility programs
What is : LINKER
300
The two types of real-number constants are: a. decimal, binary b. encoded, binary c. decimal, encoded d. BCD, ASCII
What is : c. decimal, encoded
300
This directive enables block-style comments
What is : COMMENT
400
Given the following array definition, what is a valid constant declaration named ArrayCount that automatically calculates the number of elements in the array? newArray DWORD 10,20,30,40,50
What is: ArrayCount = ($ - newArray) / 4
400
T/F The following is a valid data definition statement: prompt BYTE 'CSU East Bay', 0
What is TRUE
400
Which of the following will generate assembly errors? a. var1 BYTE 1101b, 22, 35 b. var2 BYTE "ABCDE",18 c. var3 BYTE '$','98778', d. var4 BYTE 256,19,40
What is : c. var3 BYTE '$','98778', AND d. var4 BYTE 256,19,40
400
T/F The following are both valid data definition statements: List1 BYTE 10,20 BYTE 30,40
What is : TRUE
400
These are two types of labels in assembly language programs.
What is : DATA LABELS AND CODE LABELS
500
This statement creates an array of 500 signed doublewords named myList and initializes each array element to the value -1.
What is : myList SDWORD 500 DUP (-1)
500
This directive prevents a constant to be redefined in a program
What is : EQU
500
This byte-ordering scheme used by computers to store large integers in memory with the high-order byte at the lowest address is called
What is : BIG ENDIAN
500
T/F The following is a valid identifier: AB62-$
What is : FALSE
500
This is a word that has special meaning to the assembler and can only be used in its correct context.
What is : RESERVED WORD