asm code
Peter:
>>>
If I do need the asm should I be using #pragma parameter ….. e.g. to force
use of d0
<<<
Would be a good idea.
>>>
But I am guessing ASL is Arithmetic Shift Left and ROL is Rotate Left.
<<<
You are correct.
With ASL, the high order bit is shifted into both the Carry and Extend bits of
the condition code register (CCR), and zeros are shifted into the low order
bits.
With ROL, the high order bit is shifted into both the CCR Carry bit and the low
order bit of the same value.
Steve