From: Michael Buesch Date: Fri, 16 Nov 2007 22:01:08 +0000 (+0100) Subject: assembler: Remove two fixmes. X-Git-Tag: b43-fwcutter-013~85 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=d1a7f5a3ea0620ffa5c664578a991c6e5f6adb3f;p=b43-tools.git assembler: Remove two fixmes. Signed-off-by: Michael Buesch --- diff --git a/assembler/main.c b/assembler/main.c index 701721d..34a057d 100644 --- a/assembler/main.c +++ b/assembler/main.c @@ -289,7 +289,7 @@ static unsigned int generate_reg_operand(struct assembler_context *ctx, case SPR: /* format: 0b100. .... .... */ val |= 0x800; - if (ctx->arch == 15) //FIXME is this ok? + if (ctx->arch == 15) val <<= 1; if (reg->nr & ~0x1FF) asm_error(ctx, "SPR-nr too big"); @@ -298,7 +298,7 @@ static unsigned int generate_reg_operand(struct assembler_context *ctx, case OFFR: /* format: 0b1000 0110 0rrr */ val |= 0x860; - if (ctx->arch == 15) //FIXME is this ok? + if (ctx->arch == 15) val <<= 1; if (reg->nr & ~0x7) asm_error(ctx, "OFFR-nr too big");