View Single Post
Old Aug 17th, 2006, 7:21 PM   #3
Edgar
Programmer
 
Edgar's Avatar
 
Join Date: May 2006
Location: Bathroom
Posts: 43
Rep Power: 0 Edgar is on a distinguished road
Quote:
Originally Posted by Klarre
I am not sure if I have gotten it correct. But first of all: is dgroup and @data doing the same thing? Second of all: do they keep the adress to the data segment, or what are they?
Yes try to use @data, but you have to move @data to ds so the following
segment shoud resolve your problem:

mov ax,@data
mov ds,ax ;because you can't move ax direct to your data segment.
Edgar is offline   Reply With Quote