does this use SS or DS?

Programming, for all ages and all languages.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

does this use SS or DS?

Post by earlz »

I am attempting to make an 8086 emulator and I got to these mod r/m bytes
well I need to know would

Code: Select all

mov [bp+si+0xF12],dx
because their is bp in it, would you use ss or would you just use ds?
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Post by Candy »

AFAIK, all references that include BP and/or SP always refer to SS. This one would too.
Post Reply