CompuServe Messages

#Bruce Dawson Review

    05-Jan-89 13:27:50
Sb: #27999-#Bruce Dawson Review
Fm: colin fox 72077,2636
To: Bill Hawes 72230,267
There is nothing stopping you from being completely explicit in your programming. Assemblers aren't supposed to change your code if you are totally explicit. If you say BRA.L the assembler won't (shouldn't) optimize it to a BRA. If you say ADDI it won't (shouldn't) optimize it to an ADDQ. It's only when you leave your instructions as slightly ambiguous that the assembler thinks you mean "go ahead, optimize this". If you say BRA.S and it doesn't work out to be a short branch, then the assembler still tells {j BRANCH OUT OF RANGE or some such, it doesn't change it. — Colin — ps. Do you like it when the assembler changes MOVE.L #val,A0 to MOVEA.L #val,A0 ? — Colin —