1A value stored in the ebx register can be sign-extended into edx:ebx with the CDQ instruction.
False
2The CMP instruction sets processor flags based on an implied ___ of two operands.
Subtraction
3Performing division with DIV using 32-bit dividend implies that the dividend must be stored in ___.
EDX:EAX
4When using the DIV instruction and a 64-bit divisor, the quotient is stored in [a] and the remainder in [b].
RAX:RDX
5Before any conditional tests can be executed, two operands must be compared using the ___ instruction.q
CMP
610100100 ___ 11010101 = 01110001
XOR
7The EQU directive can be used with the ___ to determine the length of a string.
Current Location Counter
8IDIV can only accept 1 operands(s).
False
9In a 32-bit program, the LOOP instruction automatically ___ the ecx register.
Decrements
10Character literals are stored as ___ in memory.
ASCII
11The JNGE instruction means to jump to a label if the first operand is ___ the second output.
Not Greater or Equal to.
12The NEG instruction changes a value from positive to negative by converting it into its ___ representation.
Two's complement
13In MASM, the first operand is the source and the second operand is the destination.
False
14By default, integer literals are in base ___
10
15A ___ valu is a value directly specified by the programmer rather than the result of an expression. For example, 10, 45h, 1001 1000b, 'A'Unin
Literal
16The JNZ instruction can be used with signed operands.
True
17A common way to detect whether a value is even or odd is to use the ___ operation to test if the last significant bit is set.
AND
18The IMUL instruction can accept up to ___ operand(s)
3
19The ___ instruction will move execution to a different section of code regardless of any conditions.
JMP
20Uninitialized variables are declared in the .bss section of a program in MASM.
False
21Aligning data to ___ memory addresses can help the processor access data faster.
Even
22Lables must be followed by a ___.
Colon
23In MASM, the first operand is the destination and the second operand is the source.
True
24The [a] instruction copies a values and extends the sign, while the [b] instruction copies a value and extends zeros.
MOVSX, MOVZX
25The IDIV instruction can accept ___ operands(s).
1, 2, 3
26Only ___ operands should be used when executing the JNA instruction.
1
27Counter-based loops can be quickly written using the LOOP instruction, which uses the ___ as the counter.
CX/ECX/RCX
28In order to implement branching in an Assembly program, you must use ___ to identify blocks of code.
Labels
29In order to use the base-10 literal value 50 in hexadecimal value in MASM, you would specify it as ___
30The ___ directive is used to declare a 32-bit signed integer variable in MASM.
SWORD
31The semi-colon represents a multi-line comment in MASM
False
32The NEG instruction converts a value into its one's complement.
False
33IDIV can accept 1, 2, or 3 operands.
False
34___ are assembler-specific commands that allow you to do many things, such as define variables, indicate memory segments, and so on. For example, .data, DWORD, PROTO, END.
Directives
35The INC instruction takes a maximum of ___ operands.
1
36The AND bitwise operation is commonly used for setting bits in a value.
False
37The JMP instruction does not require any specific processor flags to be set.
True
38The semi-colon represents a single-line comment in MASM.
True
39When using a QWORD value as an operand for the MUL instruction, the result will be stored in ___.
RDX:RAX
40The ___ character signifies a single-line comment in MASM.
Semi-colon.
41in Assembly, you must always use two conditional jumps to test both the "if-case" and the "else-case".
False
42Using the bitwise AND operation, the result of 1 AND 0 is ___.RD
0
43The LOOP instruction preserves the counter value automatically so the programmer is free to use the counter register (cx/ecxcx) within the loop.
False
44When using MASM, the first operand is the ___ operand.
Destination