Make sure config.sys contains
device=c:\dos\himem.sys
dos=high
There absolutely must not be emm386.exe.
This ensures the CPU is in real mode rather than V86 mode, and that A20 is also enabled.
Then you can do whatever you want in the program, for example
xor ax,ax
mov ds,ax
mov eax,12345678h
mov bx,
mov esi,40000000h
dec dword ptr
Unfortunately, none of the high-level language development tools under DOS support this kind of data access method, so
you can only use assembly.
device=c:\dos\himem.sys
dos=high
There absolutely must not be emm386.exe.
This ensures the CPU is in real mode rather than V86 mode, and that A20 is also enabled.
Then you can do whatever you want in the program, for example
xor ax,ax
mov ds,ax
mov eax,12345678h
mov bx,
mov esi,40000000h
dec dword ptr
Unfortunately, none of the high-level language development tools under DOS support this kind of data access method, so
you can only use assembly.



