On Thu, Jan 30, 2003 at 11:41:11AM +0300, Dmitry wrote: > assume that some value is in r15. > I need to extract a sign bit of r15 and extend it to whole word and save thes > in r14.
> Can anyone invent a simpler solution? I am not familiar with MSP ASM, but maybe you can mov #-1, r14 move msb of r15 to carry flag add carry to r14 no jump needed M.