dtpic.mui: added MUI4 attributes. (Only attribute
[AROS.git] / arch / .unmaintained / dummy / getcc.c
blobfeed4fa3678246f3863c5c0d165cf5a5de31023b
1 |*****************************************************************************
3 | NAME
5 | __AROS_LH0(UWORD, GetCC,
7 | LOCATION
8 | struct ExecBase *, SysBase, 88, Exec)
10 | FUNCTION
11 | Read the contents of the sr in a easy and compatible way.
13 | INPUTS
15 | RESULT
16 | The contents of sr as a UWORD.
18 | NOTES
19 | This function will most likely be implemented by a few instructions
20 | directly in the jumptable.
22 | EXAMPLE
24 | BUGS
26 | SEE ALSO
27 | SetSR()
29 | INTERNALS
31 | HISTORY
33 |******************************************************************************
35 | This function is implemented directly in the jumptable - but it
36 | doesn't harm to see what it looks like.
37 | 68000 version
38 .globl _Exec_GetCC
39 _Exec_GetCC:
40 movew sr,d0
41 rts
43 | 68010 and up
44 .globl _Exec_GetCC_01
45 _Exec_GetCC_01:
46 movew ccr,d0
47 rts