Question

in assembly 1. Real mode allows access to memory below which memory address? 2. Under real...

in assembly

1. Real mode allows access to memory below which memory address?

2. Under real and protected mode, the far jump modifies the current instruction address by changing which register or registers?

3. Under real and protected mode, the near jump modifies the current instruction address by changing which register or registers?

4. Under real mode, briefly explain what happens when the PUSH BX instruction executes. Make sure to show where BH and BL are stored. Assume that initially SP=0100H and SS=0200H. Recall that in the x86 family, the stack grown downwards, toward lower addresses, and the SP is pointing the to top of the stack (most recently pushed value).

Homework Answers

Answer #1

1. - Real mode gives exactly 1MiB of addressable memory and direct software access to ALL ADDRESSABLE MEMORY as well ass peripheral devices.

2. - In far jump - no flag is modified. labelled as - JMP label, and it updates CS and IP.

3. - in near jump - no flag is modified, labelled as - JMP label, and updates IP only.

4. - In real mode, while executing PUSH instruction, always remember that the instructions follows PREDECREMENT operation by 2 steps. i.e.

if SP initially at 0100H then after execution of the PUSh instruction, 00FE H will be the address where we will observe SP after the execution. and every time the SP will be at the top of the stack only.

.

plus to this - stack grows downwards only when POP is executed and upwards when PUSH is executed.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2....
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2. In real-address mode, convert the following segment offset address to a linear address: 0CD1:02E0 3. What is the duration of a single clock cycle (in nanoseconds) in a 3.4 GHz 4. A hard disk rotates at 4200 RPM (rotations per minute). What is the timeof one rotation in milliseconds? 5. Which Intel processor was the first member of the IA-32 family? 6. Which Intel...
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2....
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2. In real-address mode, convert the following segment offset address to a linear address: 0CD1:02E0 3. What is the duration of a single clock cycle (in nanoseconds) in a 3.4 GHz 4. A hard disk rotates at 4200 RPM (rotations per minute). What is the time of one rotation in milliseconds? 5. Which Intel processor was the first member of the IA-32 family? 6. Which...
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2....
1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2. In real-address mode, convert the following segment offset address to a linear address: 0CD1:02E0 3. What is the duration of a single clock cycle (in nanoseconds) in a 3.4 GHz 4. A hard disk rotates at 4200 RPM (rotations per minute). What is the timeof one rotation in milliseconds? 5. Which Intel processor was the first member of the IA-32 family? 6. Which Intel...