signal的问题
#pragma inline#include <stdio.h>
#include <signal.h>
void Catcher(int sig, int type, int *reglist)
{
printf("Caught it!
");
*(reglist + 8) = 3;
}
int main(void)
{
signal(SIGFPE, Catcher);
asm mov ax,07FFFH
asm inc ax
asm into
asm dec ax
asm into
return 0;
}
#pragma 定义的是什么?
asm 是什么?