2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
7 #include <proto/exec.h>
43 #define Supervisor(A) 0
53 Printf("GetCC(): %04x\n",GetCC());
54 Printf("SetSR(): %04lx\n",SetSR(0,0));
58 Printf("Supervisor flags: %04x\n", ar
);
59 Printf("User flags: %04x\n", a());
60 Printf("Supervisor stack pointer: %04lx\n",
61 (IPTR
)Supervisor((ULONG_FUNC
)&b
));