I've run into the __loadds
keyword as a function declaration modifier in some old code for 16-bit Windows that I was looking at out of curiosity.
A Google search did not yield anything useful, presumably because no one uses the compilers that supported that keyword anymore. I'm guessing from its name that it had something to do with the DS
(data segment) register and the segmented memory model of x86 real mode.