Quiz 3 Flashcards
Which of the following is not a data copy/transfer function?
DAS
True or False
Program control transfer instructions, are instructions for the transfer of data from memory to internal register, from internal register to memory, from one register to another register, from input port to internal register, from internal register to output port, etc.
False
The instructions inverts the carry flag
CMC
To compare the source and destination operands, CMP instructions performs ___ between the operands
Subtraction
The flag that acts as borrow flag in the instruction, SBB is
Carry flag
It is used to examine the state of individual bits, or group of bits
Test
True or False
In unsigned multiplication of CX with a byte in AL, the product is placed in both AX and DX registers
False
In unsigned division of a word in AX by a byte in DATA2, the quotient will be placed in __ and the remainder in ___
AL , AH
80286 could be operated in protected mode but with only have ___ for address bus
24-bit
In calculating the target address to jump to, a displacement is added to the contents of the register
PC or Program Counter
or
IP??
It is a utility program that convertd source code programs from assembly language into machine language
Assembler
32 bit microprocessors operating in protected mode could address up to __
4 GB
In protected mode, access to the segment is allowed if ___
Both a and b
(a) RPL = DPL
(b) RPL > DPL
In protected mode memory, protection implemented by restricting access to memory segments through ___
Both a and b
(a) privilege levels
(b) access rights
Which of the following instructions perform subtraction without changing the content of the destination
CMP
This mnemonic instruction immediately adds the data valued 0929H with the count register
ADD CX, 0929H
If the direction bit, D=1, data flow. The address REG field. The R/M field located in the second byte of an instruction
TO, FROM
In unsigned division of a double word in DX AX by a word in CX, the quotient will be placed in _ and the remainder in _
AX DX
If the instruction is MOV CL, DS:[1234H], the code for mm = __
00
The instruction, MOV AX, [BX] is an example of ___
Register Indirect Addressing Mode
CS contains 2001H and IP contains 007CH, which physical memory location is accessed for the next instruction ___
2008CH
If the MOD field contains a 00, 01 or 10 and R/M Code is 000, the addressing mode is ___
DS:[BX+SI]
If the MOD field contains a 00, 01 or 10 and R/M Code is 001, the addressing mode is ___
DS:[BX+DI]
If the MOD field contains a 00, 01 or 10 and R/M Code is 111, the addressing mode is ___
DS:[BX]
Convert the machine code 8CD0H to Assembly language
MOV AX, SS
Convert the machine code 034606H to Assembly language
ADD AX, [BP+6]
Convert to machine code the instruction AND AL, 0FCH
24FCH
Convert to machine code the instruction, POP BP
5DH