This should exit with 16, but exits with 0:

        .globl _start
_start:
        fmovem.l fpstate,%fpcr/%fpsr
        fmove.l %fpcr,%d1
        move.l #1,%d0
        trap #0
        .data
fpstate:
        .long 0x10
        .space 8

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to