Omnimaga

Calculator Community => TI Calculators => ASM => Topic started by: Hot_Dog on September 03, 2010, 11:31:05 am

Title: Replacement for IN F, (C)
Post by: Hot_Dog on September 03, 2010, 11:31:05 am
Part of the reason for S.A.D.'s incompatibility with the Nspire is because of the following 3 lines of code, used in SafeCopy to copy plotsscreen to the LCD:


rowwait:
   in f,(c)
   jp m,rowwait


Is there any code I can use to replace this?  I tried using IN A, (C) because the sign flag is affected, but apparently that didn't work
Title: Re: Replacement for IN F, (C)
Post by: calc84maniac on September 03, 2010, 11:35:27 am
IN A,(C) should work. Are you sure the value of A doesn't need to be preserved?
Title: Re: Replacement for IN F, (C)
Post by: Hot_Dog on September 03, 2010, 11:37:21 am
IN A,(C) should work. Are you sure the value of A doesn't need to be preserved?

Opps!

What I need to do is find a register that isn't being used.  Thanks, calc84!