Answer 1. The value of the code segment register (CS) = 3560h The value of the Instruction Pointer, holding address of the instruction = 101Ah Physical address of the instruction Physical Address = CS (Hex) x 16 + IP
3
5
6
0
0
+
1
0
1
A
3
6
6
1
A
Answer 2. The value of the stack segment register (SS) = 2067h The value of the stack pointer (SP) which is Offset = 1235h Thus, Physical address of the top of the stack is:
2
0
6
7
0
+
1
2
3
5
2
1
8
A
5
This calculation can be expressed as: Physical address = SS (hex) x 16 + SP (hex).
Answer 1. The value of the code segment register (CS) = 3560h The value of the Instruction Pointer, holding address of the instruction = 101Ah Physical address of the instruction Physical Address = CS (Hex) x 16 + IP
Answer 2. The value of the stack segment register (SS) = 2067h The value of the stack pointer (SP) which is Offset = 1235h Thus, Physical address of the top of the stack is:
This calculation can be expressed as: Physical address = SS (hex) x 16 + SP (hex).