Bit Manipulations

Lecture 10: Bit Manipulations

198 Questions159 MCQs34 Short Questions5 Long Questions
Showing 91100 of 198 Questions
Page 10 of 20
Q91❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
Why is the assembly instruction `mov ax, [SI + DI]` invalid in 16-bit x86 architecture?
💻 assembly Snippet
; mov ax, [si + di] ; ILLEGAL: Combining two index registers
mov ax, [bx + si] ; LEGAL: Base register BX + Index register SI
  1. A.Two index registers cannot be combined in an addressing mode
  2. B.Two base registers cannot be combined in an addressing mode
  3. C.Source register must be AX
  4. D.Immediate operand is required
Q92❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
In the assembly instruction `mov ax, [SI + DI]`, what is the specific assembler error?
💻 assembly Snippet
; mov ax, [si + di] ; ILLEGAL: Cannot use two index registers together
mov ax, [bx + si] ; LEGAL: One base register + one index register
  1. A.Two indexes can't be used as Memory Address
  2. B.Index can't be used as Memory Address
  3. C.Segment register missing
  4. D.None of the Given
Q93❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
What is the maximum physical memory capacity that the Intel iAPX88 (8088) processor can directly address?
  1. A.1MB
  2. B.2MB
  3. C.3MB
  4. D.128MB
Q94❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
The maximum physical memory capacity of 1 MB in the Intel iAPX88 (8088) processor is accessed using a bus width of __________.
  1. A.18 bits
  2. B.20 bits
  3. C.16 bits
  4. D.2 bits
Q95❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
In the statement 'Address 1DED0 where opcode B80500 is placed', 0x1DED0 represents a 20-bit __________ address in physical RAM.
  1. A.physical memory
  2. B.memory
  3. C.effective
  4. D.None of the Given
Q96❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
A 20-bit physical address is formed by taking a 16-bit Segment Address with its lower four bits shifted to zero and adding a 16-bit Offset Address with its __________ four bits padded with zero.
💻 assembly Snippet
; Physical Address = (Segment * 16) + Offset
  1. A.Middle
  2. B.lower
  3. C.Top
  4. D.upper
Q97❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
When adding two 20-bit addresses in 8088 real mode, if a 21st carry bit is generated, it is discarded, causing address calculation to loop back to 0x00000. This phenomenon is called address __________.
💻 assembly Snippet
; Segment 0xFFFF, Offset 0x0010 -> 0x100000 -> 0x00000 (Wraparound)
  1. A.wraparound
  2. B.mode
  3. C.ping
  4. D.error
Q98❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
In x86 8088 segmented memory architecture, memory segments can only begin at physical address multiples of 16 bytes, which are called __________ boundaries.
  1. A.segment
  2. B.paragraph
  3. C.cell
  4. D.RAM
Q99❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
In a program where Code Segment (`CS`), Data Segment (`DS`), Stack Segment (`SS`), and Extra Segment (`ES`) all contain the exact same segment base value, this memory organization is called __________.
💻 assembly Snippet
; Initializing all segment registers to CS segment base
mov ax, cs
mov ds, ax
mov es, ax
mov ss, ax
  1. A.equal memory
  2. B.overlapping segments
  3. C.segments hiding
  4. D.overlapping SI
Q100❓ MCQ📑 Lec 4Easy🔁RepeatedHigh-Yield💡Conceptual
In base + offset addressing modes, the calculated 16-bit offset address resulting from adding the base register and offset displacement is called the __________.
💻 assembly Snippet
mov ax, [bx + 4] ; Effective Address EA = BX + 4
  1. A.Address
  2. B.mode
  3. C.effective address
  4. D.Physical Address