home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
set6x86.zip
/
test_bug.c
< prev
Wrap
C/C++ Source or Header
|
1997-12-14
|
296b
|
12 lines
/* This program is DANGEROUS: it will lock (freeze) your system */
/* Read all the available documentation before executing it */
static unsigned char c[4] = {0x36, 0x78, 0x38, 0x36};
main()
{
asm ("movl $c, %ebx\n\t"
"again: xchgl (%ebx), %eax\n\t"
"movl %eax, %edx\n\t"
"jmp again\n\t");
}