|
|
1.1 ! root 1: ! 2: #include <machine/fp.h> ! 3: .text ! 4: .globl Xnegd ! 5: _negd: ! 6: Xnegd: .word 0x0000 ! 7: andl3 $EXPMASK,4(fp),r0 /* check for reserved operand,zero. */ ! 8: beql isreserved ! 9: movl 4(fp),r0 /* fetch operand. */ ! 10: movl 8(fp),r1 ! 11: bbc $31,r0,seton ! 12: andl2 $(0!SIGNBIT),r0 /* turn it off. */ ! 13: ret ! 14: seton: orl2 $SIGNBIT,r0 /* turn it on. */ ! 15: ret ! 16: isreserved: ! 17: bbc $31,4(fp),retzero ! 18: callf $4,fpresop ! 19: ret ! 20: retzero: ! 21: clrl r0 ! 22: clrl r1 ! 23: ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.