|
|
Power 6/32 Unix version 1.2b
#include "fp.h" #include "fp_in_krnl.h" .text .globl _Knegf _Knegf: .word 0x0000 clrl r1 andl3 $EXPMASK,4(fp),r0 /* check for reserved operand,zero. */ beql retzero movl 4(fp),r0 /* fetch operand. */ bbc $31,r0,seton andl2 $(0!SIGNBIT),r0 /* turn it off. */ ret seton: orl2 $SIGNBIT,r0 /* turn it on. */ ret retzero: clrl r0 ret
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.