X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fhc08%2Fgen.c;h=9c94f3559b73891c3037ce99b0dc5e295720476e;hb=0694926e60ec83b31f87590e601f7e0d8f86c512;hp=fde9e310f45178a5c44da5cb522946045cc97543;hpb=3bae16f8e891a1ba6b0fb1a259e3ab284f3fb0f8;p=fw%2Fsdcc diff --git a/src/hc08/gen.c b/src/hc08/gen.c index fde9e310..9c94f355 100644 --- a/src/hc08/gen.c +++ b/src/hc08/gen.c @@ -1920,7 +1920,7 @@ aopAdrStr (asmop * aop, int loffset, bool bit16) case AOP_LIT: if (bit16) - return aopLiteralLong (aop->aopu.aop_lit, loffset, 2); + return aopLiteralLong (aop->aopu.aop_lit, /*loffset*/ 0, 2); else return aopLiteral (aop->aopu.aop_lit, loffset); @@ -5374,7 +5374,7 @@ XAccRsh (int shCount, bool sign) ** rola 1 1 bcde fgh0 0000 000a 0 ** lslx 1 1 cdef gh00 0000 000a b ** rola 1 1 cdef gh00 0000 00ab 0 - ** clrx 1 1 0000 0000 0000 000a 0 + ** clrx 1 1 0000 0000 0000 00ab 0 ** total: 6 cycles, 6 bytes */ loadRegFromConst (hc08_reg_x, zero); @@ -5430,12 +5430,12 @@ XAccRsh (int shCount, bool sign) ; } - /* lslx/rola is only 2 cycles and bytes, so an unrolled loop is often */ + /* lsrx/rora is only 2 cycles and bytes, so an unrolled loop is often */ /* the fastest and shortest. */ for (i=0;i