ôn tập c67
ôn tập c67
Write mask byte (in hex) to clear the lower 4 bit of a byte value with AND instruction
The following sequence of instructions are executed. What is the correct values at watch point?
The following sequence of instructions are executed. What is the correct value of flag bits at watch
point?
Physical address of the stack pointer is 2DA82, stack segment located at 1DAE. Computer the
value of SP register?
Enter debug command to fill 256 bytes in data segment starting from 100 with value 0D
Given 8bit floatingpoint binary format:
1 (sign) + 3 (exponent) + 4 (mantissa)
Convert the 8bit floating point number E7 (in hex) to decimal.
To test one bit in a byte value without destructing the byte, use __________ instruction
Given a row of memory image in debug
0AE8:0120 13 96 D0 E0 D0 E0 A2 1E 99 80 3E 20 99 00 75 24
Initially, AX=BX=CX=DX=0, SI=121
What are value of CX,DX after execution of the following instructions?
MOV DX, [SI]
MOV CX, [SI+2]
Select correct match for AL and carry flag at watch point #1:
MOV BL, 8C
MOV AL, 7E
ADD AL, BL
Convert the 32bit floating point number C4361000 (in hex) to decimal
Compute the physical address of stack top if stack pointer is FFAE and stack segment located at
1DAE
Signextend number 1011 0101 (8bit binary) to 16bit
The following sequence of instructions are executed. What is the correct value of AX, CX, DX at
watch point?
MOV AX,30
MOV CX,FFFF
MUL CX
In multiplication instruction, the upper half of the result is nonzero implies which state of Carry flag and
Overflow flag?
Consider the following assembly instruction sequence
XOR BX, BX
CMP DL, 5
JLE a_label
CMP DL,17h
JGE a_label
MOV BX, 10h
a_label:
INC BX
watch point:
...
Choose correct value of BX register at watch point for different value of DL?
Which are the correct actions for LODSW string operation if DF is reset (=0)
Which of the following instructions are not valid?
The following sequence of instructions are executed. What is the correct value of AX, CX, DX at watch
point?
MOV AX,0020
MOV CX,0010
MUL CL
A system programmer needs to compute 449/2+358/4 (decimal). Instruct him to code in debug (number
must be in hex) with the least number of instruction counts.
Convert 0.1015625 to IEEE 32-bit floating point format (1 sign+ 8 exponent + 23 mantissa)
The instruction that loads the AH register with the lower byte of the flag register is
Select the correct sequence of instructions to compute -1024/128 (all values are in hex).
Convert the 32-bit floating point number C4361000 (in hex) to decimal.
Write mask byte (in hex) to clear bit 2nd, 3rd, 5th of a byte value with AND instruction (LSB is
1st bit)
Write mask byte (in hex) to set bit 6th, 4th of a byte value with OR instruction (LSB is the 1st
bit).
The value in CS is 1FD0h what is the location of next instruction from 00000h if Instruction pointer is 3CD4h
The value of SP register is 1D50. What is the value of SP follows the execution of PUSH SI
Choose correct value of AL register at watch point for different value of DL?
The following sequence of instructions are executed. What is the correct value of CF and
OF at watch point?
Which could be correct ones for the destination operand in a data movement instruction?
Write mask byte (in hex) to clear bit 2nd, 3rd, 5th of a byte value with AND instruction (LSB is 1st
bit)
if the location to which the control is to be transferred lies in a segment other than the
current one, then the jump instruction is call
Convert the 32-bit floating point number 44363800 (in hex) to decimal.
The
following sequence of instructions are executed. What is the correct value of flag bits at
watch point?
MOV AX,FFFF
MOV CX,5
MUL CX
In multiplication instruction, when the source operand is 16 bit, how can the result be taken?