github.com/afumu/libc@v0.0.6/musl/arch/m68k/bits/reg.h (about)

     1  #undef __WORDSIZE
     2  #define __WORDSIZE 32
     3  #define PT_D1 0
     4  #define PT_D2 1
     5  #define PT_D3 2
     6  #define PT_D4 3
     7  #define PT_D5 4
     8  #define PT_D6 5
     9  #define PT_D7 6
    10  #define PT_A0 7
    11  #define PT_A1 8
    12  #define PT_A2 9
    13  #define PT_A3 10
    14  #define PT_A4 11
    15  #define PT_A5 12
    16  #define PT_A6 13
    17  #define PT_D0 14
    18  #define PT_USP 15
    19  #define PT_ORIG_D0 16
    20  #define PT_SR 17
    21  #define PT_PC 18
    22  
    23  #if __mcffpu__
    24  #define PT_FP0 21
    25  #define PT_FP1 23
    26  #define PT_FP2 25
    27  #define PT_FP3 27
    28  #define PT_FP4 29
    29  #define PT_FP5 31
    30  #define PT_FP6 33
    31  #define PT_FP7 35
    32  #else
    33  #define PT_FP0 21
    34  #define PT_FP1 24
    35  #define PT_FP2 27
    36  #define PT_FP3 30
    37  #define PT_FP4 33
    38  #define PT_FP5 36
    39  #define PT_FP6 39
    40  #define PT_FP7 42
    41  #endif
    42  
    43  #define PT_FPCR 45
    44  #define PT_FPSR 46
    45  #define PT_FPIAR 47