Dmitry wrote:
oops...
no...
rla r15 ; move MSB to carry
clr r14 ; move zero to r14 (carry isn't clobbered)
subc #0, r14 ; subtract carry
Can't that be reduced to:
rla r15 subc r14,r14 Regards, Steve
Dmitry wrote:
oops...
no...
rla r15 ; move MSB to carry
clr r14 ; move zero to r14 (carry isn't clobbered)
subc #0, r14 ; subtract carry
Can't that be reduced to:
rla r15 subc r14,r14 Regards, Steve