Path: utzoo!attcan!uunet!ogicse!clark!pro-freedom.cts.com!noahm From: noahm@pro-freedom.cts.com (Noah Magram) Newsgroups: comp.sys.apple2 Subject: An Apple A Day Message-ID: <1990Oct20.015419.24993@clark.edu> Date: 20 Oct 90 01:54:16 GMT Sender: usenet@clark.edu Organization: Apple*Van - Apple Users Group of Vancouver, WA [206/253-9389] Lines: 15 Today's Apple is about floating point addition in machine code. ////////////////////////////////////////////////////////////////////////////// An Apple A Day \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ The following is how to add numbers in the FP accumulator in machine code. 1. Load registers Y and A with the address that has the number in it. 2. poke or some other write to address the other number to (244-247) $F4-$F7 3. Finally call or "G" $E7BE (-6210) the result will be in address $9D-$A3 (157-163). ============================================================================== ---- ProLine: noahm@pro-freedom Internet: noahm@pro-freedom.cts.com UUCP: crash!pro-freedom!noahm ARPA: crash!pro-freedom!noahm@nosc.mil