|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Effective memory address calculation
What is the effective address generated by each of the following instruction?
Initially BX=0x0100, label=0x0234, [label]=0x0010, and SI=0x00E1 (Offsets in part a, b and f are in decimal) 1. mov ax, [bx+40] answer: 0x0140 2. mov ax, [bx+20] answer: 0x0160 3. mov ax, [bx+label] answer: 0x0394 4. mov ax, [label+bx] answer: 0x0404 5. mov ax, [bx+si] answer: 0x0475 6. mov ax, [si+25] answer: 0x0106 Kindly check my answers, please point out the mistakes and tell me by an example how to do these. |
![]() |
| Viewing: Dev Shed Forums > Computer Hardware > Computer Hardware > Effective memory address calculation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|