ddt.demos.su!f400.n5020!f121.n461!uanet.cit-ua.net!uanet.kharkov.ua!useua!f121
.n461!f133.n461!f108.n461!not-for-mail
Hello Kevin!
Sat Aug 23 1997 07:02, Kevin Campbell wrote to Viktor Osadchuk:
>> asm {
>> mov ax,0
>> mov es,ax
>> mov ax,1234h
>> mov di,0472h
>> mov es:di,ax /* Error: Memory reference expected */
>> int 19h
>> }
KC> Put square brackets around the reference "mov [es:di],ax".
KC> Kevin Campbell
And what You say about next hard reset method:
1)
asm{
mov AL,0FEh ; Reboot
out 64h,AL ; ᮡá⢥®
}
or C:
outp(0x64,0xFE);
or (for other compilers):
outportb(0x64,0xFE);
2) C only (without asm):
((void (far*)(void))*(long*)"ðððððððð")();
Regards,
Nickolas Hirgij, Kharkov, Ukraine
---
---------------
* Origin: HNI (2:461/108.5)
|