X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic%2Fgen.c;fp=src%2Fpic%2Fgen.c;h=a2482345d8cf644255cb770a7ffb6c44b8de79f4;hb=455a1bc2a169f6caf0e3c5d3bfd5be0b23b99846;hp=568bd61ffbeb42ab9349f52cb1b6e645261d03e4;hpb=a88a9c2fcb469861c47346d3fe35cd403c31a5d8;p=fw%2Fsdcc diff --git a/src/pic/gen.c b/src/pic/gen.c index 568bd61f..a2482345 100644 --- a/src/pic/gen.c +++ b/src/pic/gen.c @@ -1617,25 +1617,26 @@ release: /*-----------------------------------------------------------------*/ /* genUminusFloat - unary minus for floating points */ /*-----------------------------------------------------------------*/ -static void genUminusFloat(operand *op,operand *result) +static void +genUminusFloat(operand *op, operand *result) { - int size ,offset =0 ; - char *l; + int size; - FENTRY; + FENTRY; - DEBUGpic14_emitcode ("; ***","%s %d",__FUNCTION__,__LINE__); - /* for this we just need to flip the - first it then copy the rest in place */ - size = AOP_SIZE(op) - 1; + DEBUGpic14_emitcode("; ***", "%s %d", __FUNCTION__, __LINE__); + /* for this we just need to flip the + first it then copy the rest in place */ + size = AOP_SIZE(op) - 1; - mov2w_op(op, size); - emitpcode(POC_XORLW, popGetLit(0x80)); - movwf(AOP(result), size); + mov2w_op(op, size); + emitpcode(POC_XORLW, popGetLit(0x80)); + movwf(AOP(result), size); - while(size--) { - mov2w_op(op, size); - movwf(AOP(result), size); + while (size--) + { + mov2w_op(op, size); + movwf(AOP(result), size); } // while }