DIGIT-ARC read-only archive · snapshot: July 23, 2026

8086 programming problem

6 posts · originally from https://geek.digit.in/community/threads/8086-programming-problem.134555/

G
gaurav9991 Original post #1
Nov 30, 2010 at 7:09 PM
In 8086 CPU the following register contents are

CS:4100H DS:A000H BX:0350H IP:0100H

The 8086 fetches the following instruction using above register

MOV [BX] , AX

1) Which is the memory address from where the instruction is fetched?

2)Which is the memory address where the data that is in AX is stored?
pulkitpopli2004
Nov 30, 2010 at 9:13 PM
as far as i remember

1. instruction will be fetched from the address present in instruction pointer IP i.e eq to 0100H

2. And AX will be stored at address 0350H
G
Dec 1, 2010 at 7:58 AM
as far as i remember

1. instruction will be fetched from the address present in instruction pointer IP i.e eq to 0100H

2. And AX will be stored at address 0350H

i am agree with you for the first answer but for second indirect addressing mode is used. Had it been MOV A,B then it would be 035H
am i correct ?
pulkitpopli2004
Dec 2, 2010 at 1:39 AM
well [BX] tells that the the value of the AX will be stored not in BX bt at the address of BX..
and address of BX is 0350H.. so i think this wud b d only solution
S
Dec 19, 2010 at 10:51 AM
In 8086 CPU the following register contents are

CS:4100H DS:A000H BX:0350H IP:0100H

The 8086 fetches the following instruction using above register

MOV [BX] , AX

1) Which is the memory address from where the instruction is fetched?

2)Which is the memory address where the data that is in AX is stored?

I believe that the instructions are fetched from 4200H and the data is stored in A350H.
J
Jerin #6
Jan 6, 2011 at 10:53 PM
I think it is 4200 high order address.