click below
click below
Normal Size Small Size show me how
S2-CSA
| Question | Answer |
|---|---|
| It is also conditional repeat. It repeats the operation while the zero flag indicates not equal/zero. Group of answer choices REPNZ REPE REPZ REP | REPNZ |
| This instruction for multiplying binary data handles unsigned data Group of answer choices MUL IMUL SIGNED MUL UNSIGNED MUL | MUL |
| Jump if no carry. Group of answer choices JNC JC JXCZ JP | JNC |
| This is one of the basic instructions for processing strings wherein it stores data from register (AL, AX, or EAX) to memory. Group of answer choices STOS CMPS SCAS MOVS | STOS |
| In this type of BCD representation, there is no support for multiplication and division. Group of answer choices packed unpacked mixed all of the above | packed |
| This is the ASCII code for 7 Group of answer choices 55 81 21 32 | 55 |
| This is one of the basic instructions for processing strings wherein this instruction moves 1 Byte, Word or Doubleword of data from memory location to another. Group of answer choices MOVS LODS STOS SCAS | MOVS |
| This operation reverses the bits in an operand. Group of answer choices NOT OR XOR AND | NOT |
| Jump sign is a positive value. Group of answer choices JNS JS JP JO | JNS |
| It is used along with the conditional jump instruction for decision making Group of answer choices CMP LABEL INC DEC | CMP |
| We can store the string length explicitly by using the ___?___ location counter symbol that represents the current value of the location counter Group of answer choices $ & % @ | $ |
| This is the ASCII code for $ Group of answer choices 36 42 31 8 | 36 |
| The ADD/SUB instruction can take place between register to memory. Group of answer choices True False | False |
| This instruction is used for decrementing an operand by one Group of answer choices DEC ADD ASC SUB | DEC |
| It is conditional repeat. It repeats the operation while the zero flag indicates equal/zero. Group of answer choices REPE REP REPNZ REPNE | REP |
| The bitwise ____ operation returns 1, if the matching bits from both the operands are 1, otherwise it returns 0. | AND |
| The CMP instruction compares five operands. Group of answer choices True False | False |
| It is a division operation that generates two elements - a quotient and a remainder. This instruction is used for unsigned data. Group of answer choices DIV IDIV signed DIV unsiged DIV | DIV |
| Jump if no overflow Group of answer choices JNO JO JC JE | JNO |
| In this type of BCD representation, each byte stores the binary equivalent of a decimal digit. Group of answer choices unpacked packed mixed all of the above | unpacked |
| This instruction is used for incrementing an operand by one Group of answer choices INC DESC ADD SUB | INC |
| This is the ASCII code for G Group of answer choices 71 80 32 70 | 71 |
| It is the unconditional repeat. It repeats the operation until CX is zero. Group of answer choices REP REPE REPZ REPNE | REPE |
| It is often used for comparing whether a counter value has reached the number of times a loop needs to be run. Group of answer choices | CMP |
| Jump sign is a negative value. Group of answer choices JS JNS JNO JC | JS |
| This is an instruction that compares two operands. It is generally used in conditional execution. Group of answer choices CMP JMP GO TO LOOP | JO |
| The XOR operation sets the resultant bit to _____, if and only if the bits from the operands are different. | 1 |
| This instruction for multiplying binary data handles signed data Group of answer choices IMUL MUL SIGNED MUL UNSIGNED MUL | IMUL |
| This instruction works same as the AND operation, but unlike AND instruction, it does not change the first operand Group of answer choices TEST NOT OR XOR | TEST |
| This is an instruction that provides a label name where the flow of control is transferred immediately. Group of answer choices JMP CMP INC GO TO | JMP |
| The LOOP instruction assumes that the _______ register contains the loop count. | ECX |
| The OR instruction is used for supporting logical expression by performing bitwise AND operation. Group of answer choices True False | False |
| This is the ASCII code for E Group of answer choices 69 70 65 60 | 69 |
| This instruction is used for performing simple addition Group of answer choices ADD SUB INC DEC | ADD |
| Which of the following is not a basic instruction for processing strings. Group of answer choices MOVS LODS STOP all of the above | STOP |
| It is often used for comparing whether a counter value has reached the number of times a loop needs to be run. Group of answer choices CMP JUMP LOOP GO TO | CMP |
| This instruction stores data from register (AL, AX, or EAX) to memory. (basic instructions for processing strings) Group of answer choices STOS CMPS SCAS MOVS | STOS |
| Numerical data is generally represented in binary system. Group of answer choices True False | True |
| Alternatively, you can store strings with a trailing sentinel character to delimit a string instead of storing the string length explicitly. Group of answer choices True False | True |
| This is the ASCII code for ? Group of answer choices 63 36 33 60 | 63 |
| This is the ASCII code for < Group of answer choices 60 70 80 12 | 60 |
| For processing strings wherein this instruction loads from memory. If the operand is of one byte, it is loaded into the AL register, if the operand is one word, it is loaded into the AX register and a doubleword is loaded into the EAX register. | LODS |
| This conditional instruction transfer the control by breaking the sequential flow and they do it by changing the offset value in IP. Group of answer choices Conditional Jump Unconditional Jump Jump End Jump | Conditional Jump |
| When the loop instruction is executed, the ECX register is incremented and the control jumps to the target label Group of answer choices True False | False |
| If you want to check whether a given number is odd or even, a simple test would be to check the least significant bit of the number. If this is 1, the number is odd, else the number is _______. | even |