TRUE/FALSE 2. The following is a valid LOCAL declaration(F) LOCAL pArray:DWORD P
ID: 3544500 • Letter: T
Question
TRUE/FALSE
2. The following is a valid LOCAL declaration(F)
LOCAL pArray:DWORD PTR
3. The following is a valid LOCAL declaration:
LOCAL SwapFlags:BYTE[5]
4. The following is a valid LOCAL declaration:
LOCAL count:DWORD
5. The following is a valid LOCAL declaration:
LOCAL DWORD:count
6. In programs that use the flat memory model, ADDR and OFFSET return the same value.
7. The CALL instruction can accept a maximum of two arguments.
8. An indirect operand such as [EBX] can be an argument passed to the INVOKE directive.
9. The assembler checks the pointer type used with the ADDR operator against the pointer type declared in the PROC directive. For example, this prevents a pointer to DWORD from being passed to a procedure expecting an pointer to BYTE.
15. In general, procedures that use stack parameters execute more quickly than procedures using register parameters.
Explanation / Answer
2.
Explanation:
LOCAL pArray: PTR DWORD
Thus, the given declaration is False.
3.
Explanation:
LOCAL SwapFlags[size]: BYTE
Thus, the given declaration is False.
4.
Explanation:
Thus, the given declaration is True.
5.
Explanation:
LOCAL count : DWORD.
Thus, the given declaration is False.
6.
Explanation:
Thus, the given declaration is True.
7.
Explanation:
Thus, the given statement is False.
8.
Explanation:
INVOKE procedureName [, argumentList]
The arguments can be as follows:
Thus, the given statement is True.
9.
Explanation:
Thus, the given declaration is False.
15.
Explanation:
Thus, the given declaration is False.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.