Detecting Memory (x86): Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Line 75:
 
Basic Usage:<br>
For the first call to the function, point ES:DI at the destination buffer for the list. Clear EBX. Set EDX to the magic number 0x0534D41500x534D4150. Set EAX to
0xE820 (note that the upper word of EAX should be set to 0). Set ECX to 24. Do an INT 0x15.
 
If the first call to the function is successful, EAX will be set to 0x0534D41500x534D4150, and the Carry flag will be clear.
EBX will be set to some non-zero value, which must be preserved for the next call to the function. CL will contain the
number of bytes actually stored at ES:DI (probably 20).