Forum
Digit Technology Discussion Forum
>
Software
>
Programming
8086 programming problem
User Name
Remember Me?
Password
Register
FAQ
Calendar
Mark Forums Read
Programming
The destination for developers - C, C++, Java, Python and the lot
LinkBack (1)
Thread Tools
Display Modes
30-11-2010, 07:09 PM
#
1
(
permalink
)
gaurav9991
Right Off the Assembly Line
Join Date: Aug 2010
Location: Pune
Posts: 2
8086 programming problem
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?
Advertisements. Register and be a member of the community to get rid of them.
Advertisement
30-11-2010, 09:13 PM
#
2
(
permalink
)
pulkitpopli2004
Wise Old Owl
Join Date: Jul 2010
Location: D!ll!
Posts: 1,131
Re: 8086 programming problem
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
01-12-2010, 07:58 AM
#
3
(
permalink
)
gaurav9991
Right Off the Assembly Line
Join Date: Aug 2010
Location: Pune
Posts: 2
Re: 8086 programming problem
Quote:
Originally Posted by
pulkitpopli2004
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 ?
02-12-2010, 01:39 AM
#
4
(
permalink
)
pulkitpopli2004
Wise Old Owl
Join Date: Jul 2010
Location: D!ll!
Posts: 1,131
Re: 8086 programming problem
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
19-12-2010, 10:51 AM
#
5
(
permalink
)
silent008
Right Off the Assembly Line
Join Date: May 2007
Posts: 22
Re: 8086 programming problem
Quote:
Originally Posted by
gaurav9991
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.
06-01-2011, 10:53 PM
#
6
(
permalink
)
Jerin
Broken In
Join Date: Jan 2005
Posts: 125
Re: 8086 programming problem
I think it is 4200 high order address.
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
LinkBacks (
?
)
LinkBack to this Thread: http://www.thinkdigit.com/forum/programming/134555-8086-programming-problem.html
Posted By
For
Type
Date
8086 instruction question
This thread
Pingback
01-12-2010
12:01 AM
Latest Threads
Kingdom of Amalur: Reckoning discussion
- by
vamsi_krishna
Your Gaming Backlog/Progress Report!
- by
Ethan_Hunt
The LG Optimus One Thread
- by
noobdroid
Poor Jokes Thread
- by
rezurect007
Must Watch Movies Recommended By Digitians
- by
~Phenom~
Letsbuy.com now integrated with Flipkart.com
- by
Terabyte
Battlefield 3 Multiplayer Discussion
- by
Charan
Battlefield 3 discussion!
- by
cyborg47
How to disable Airtel Missed Call Alerts
- by
Charan
Diablo III Discussion
- by
Gaurav Bhattacharjee
Advertisement
All times are GMT +5.5. The time now is
03:24 AM
.
Contact Us
-
Thinkdigit.com
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
LinkBack
See LinkBacks
LinkBack URL
About LinkBacks
Search Engine Optimization by
vBSEO
3.3.2