2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: GetCC() - Read the CPU condition codes in an easy way.
9 #include <aros/debug.h>
11 /*****************************************************************************
14 #include <proto/exec.h>
16 AROS_LH0(UWORD
, GetCC
,
19 struct ExecBase
*, SysBase
, 88, Exec
)
22 Read the contents of the CPU condition code register in a system
23 independant way. The flags return will be in the same format as
24 the Motorola MC680x0 family of microprocessors.
30 The CPU condition codes or ~0ul if this function has not been
38 This function may not be implemented on platforms other than
39 Motorola mc680x0 processors.
46 ******************************************************************************/
50 /* As with SetSR() you can either do nothing, or alternatively read
51 you own registers and assemble them into the form of the MC680x0
54 /* TODO: Write exec/GetCC() */
55 aros_print_not_implemented("GetCC");