gnupic@linuxhacker.org
gnupic@linuxhacker.org
I will review you patches and comments today. Thanks for the input.
On Fri, 2003-06-13 at 03:05, Gabor Kiss [Bitman] wrote:
> This patch eliminates annoying messages while compiling this:
>
> processor p17c44
> include p17c44.inc
>
> movfp 0x81, WREG
> movpf WREG, 0x82
>
> end
>
> Gabor
>
> --- directive.c.orig Wed Jun 11 07:04:33 2003
> +++ directive.c Wed Jun 11 07:28:28 2003
> @@ -2505,7 +2505,7 @@
> file=reloc_evaluate(HEAD(parms), RELOCT_F);
> reg=reloc_evaluate(HEAD(TAIL(parms)), RELOCT_P);
> file_ok(file);
> - if (reg & 0x1f) {
> + if (reg & ~0x1f) {
> gpwarning(GPW_RANGE, NULL);
> }
> emit(i->opcode | ( (reg & 0x1f) << 8) |
> @@ -2518,7 +2518,7 @@
> file=reloc_evaluate(HEAD(TAIL(parms)), RELOCT_F);
> reg=reloc_evaluate(HEAD(parms), RELOCT_P);
> file_ok(file);
> - if (reg & 0x1f) {
> + if (reg & ~0x1f) {
> gpwarning(GPW_RANGE, NULL);
> }
> emit(i->opcode | ( (reg & 0x1f) << 8) |
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gnupic-unsubscribe@linuxhacker.org
> For additional commands, e-mail: gnupic-help@linuxhacker.org
>
gnupic@linuxhacker.org