fixed a bug in register assignment expressions.