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