2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 /*****************************************************************************
10 AROS_LH0(UWORD, GetCC,
13 struct ExecBase *, SysBase, 88, Exec)
16 Read the contents of the sr in a easy and compatible way.
21 The contents of sr as a UWORD.
33 I don't think this function will have any real use on PPC...
34 This function maps PPC:
43 ******************************************************************************/
49 .globl AROS_SLIB_ENTRY(GetCC,Exec)
50 .type AROS_SLIB_ENTRY(GetCC,Exec),@function
52 AROS_SLIB_ENTRY
(GetCC
,Exec
):
64 beq _noovfl
# 0? so no Overflow
69 beq _nocarry
# 0? so no Carry
70 ori ret
,ret
,17 # X=1 C=1