SORRY FOR THE DOUBLE POST! :grin:
:stupid:
How do I get this to work????
.data
label db "stuff here"
.code
start:
mov ax,@data
... etc
...
...
the assembler doesnt like this!
how should I get the address of data in ax?
thanks
dave
:stupid:
How do I get this to work????
.data
label db "stuff here"
.code
start:
mov ax,@data
... etc
...
...
the assembler doesnt like this!
how should I get the address of data in ax?
thanks
dave
How are you assembling?
ml /Zm ...
ml /Zm ...
.model small
.code
main:
mov ax, @data
mov ds, ax
end main
.code
main:
mov ax, @data
mov ds, ax
end main
actually thats what I've got except that the model is flat???
flat == 32 bit
:grin: its been a long long time since Ive done this.. thanks for the reminder.
regds
dave
regds
dave