+Lee Stewart Posted July 27 Share Posted July 27 (edited) First of all, MPY is much more expensive than CLR---not sure it would be better. Secondly, if your code would actually run, it won't work because the last statement has no effect on FAC+6. The autoincrement occurs after the MPY. This should do it: MPY *R3+,*R3+ More importantly (per @Asmusr’s comment below), it will not work because the destination operand must be a register proper. ...lee Edited July 29 by Lee Stewart CORRECTIONS 1 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted July 28 Share Posted July 28 MPY *R3,*R3+ is not valid. The second operand must be a register. 4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.