[9047] in Athena Bugs

home help back first fref pref prev next nref lref last post

RS/6000 assembler

daemon@ATHENA.MIT.EDU (John Carr)
Wed Mar 4 18:10:24 1992

To: bugs@Athena.MIT.EDU, lwvanels@Athena.MIT.EDU
Date: Wed, 04 Mar 92 18:10:10 EST
From: John Carr <jfc@Athena.MIT.EDU>


The RS/6000 assembler assembles this source line

        sri 30,29,0

into this machine instruction

        sli 31,29,0

This modifies register 31 instead of register 30.

I couldn't find documentation for "sri" in info, so it may be a bug
that as doesn't signal an error for the "sri" opcode.  With a positive
shift count the assembler generates correct code.


home help back first fref pref prev next nref lref last post