/*
    Copyright (C) 1995-1997 AROS - The Amiga Replacement OS
    $Id: getcc.c,v 1.1 1997/08/05 13:27:14 iaint Exp $

    Desc: GetCC() - Read the CPU condition codes in an easy way.
    Lang: english
*/

extern void aros_print_not_implemented(const char *);

/*****************************************************************************

    NAME */
#include <proto/exec.h>

	AROS_LH0(UWORD, GetCC,

/*  LOCATION */
	struct ExecBase *, SysBase, 88, Exec)

/*  FUNCTION
	Read the contents of the CPU condition code register in a system
	independant way. The flags return will be in the same format as
	the Motorola MC680x0 family of microprocessors.

    INPUTS
	None.

    RESULT
	The CPU condition codes or ~0ul if this function has not been
	implemented.

    NOTES

    EXAMPLE

    BUGS
	This function may not be implemented on platforms other than
	Motorola mc680x0 processors.

    SEE ALSO
	SetSR()

    INTERNALS

    HISTORY

******************************************************************************/
{
    AROS_LIBFUNC_INIT

    /*  As with SetSR() you can either do nothing, or alternatively read
	you own registers and assemble them into the form of the MC680x0
	condition codes.
    */
    aros_print_not_implemented("GetCC");
    return ~0;

    AROS_LIBFUNC_EXIT
} /* GetCC() */
