I have come across the following directive in some assembly code:
mov ax, @data
I've gone through my assembler book and tried some Googl-ing, but can't find a definition.
Thanks,
Scott
@data
is a macro for the default data group, which is only relevant if you're not using the FLAT
model.
The code you provided is typically followed by mov ds, ax
, which sets up the data segment register for the current executable.
(MSDN reference at @data.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With