Author Topic: Replacement for IN F, (C)  (Read 2413 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Replacement for IN F, (C)
« 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
« Last Edit: September 03, 2010, 11:34:55 am by Hot_Dog »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Replacement for IN F, (C)
« Reply #1 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?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Replacement for IN F, (C)
« Reply #2 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!