home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / xact.zip / X11.DOC < prev    next >
Text File  |  1991-02-01  |  78KB  |  2,040 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                            XACT-11C Scientific Calculator
  8.  
  9.  
  10.                            The Hewlett-Packard Compatible
  11.                                 Scientific Calculator
  12.                             For Your IBM PC or Compatible
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                                 CalcTech Incorporated
  34.                                  6014 NE 60th Street
  35.                                    P.O. Box 15277
  36.                                Seattle, WA. 98115-0277
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                  Phone: 206-527-9950
  45.                                   Fax: 206-525-1331
  46.                                 Description
  47.  
  48.      XACT-11C is the Scientific  Calculator  of  the  XACT CALCULATORS
  49.      series.   XACT  CALCULATORS  emulate  the  functions  of Hewlett-
  50.      Packard's  handheld  HP-11C  Scientific,  HP-12C  Financial,  and
  51.      HP-16C  Programmer's calculators and include additional  features
  52.      such  as  program  store  to  disk, simulated tape  display,  and
  53.      constant memory.
  54.  
  55.      XACT CALCULATORS includes an auxiliary shell program.  XSHELL.EXE
  56.      is a Terminate-Stay-Resident (TSR) program which  loads  and runs
  57.      all three calculators.  (Note:  A TSR is a program  which remains
  58.      loaded  but  inactive  after  it  finishes execution.   TSRs  are
  59.      usually made active by  pressing  a  "hot-key"  which pops up the
  60.      program,  even  if  another program is executing  at  the  time).
  61.      XSHELL.EXE has 3 hot-keys, one for each calculator.
  62.  
  63.      Normally, the disadvantage of TSRs is that they consume a  lot of
  64.      your computer's memory, even while they're inactive.  Thus if you
  65.      have  loaded  one  or more TSRs, there may not be enough RAM left
  66.      over  to  run  your  spreadsheet,  word processor, or  other  DOS
  67.      programs.  XSHELL.EXE helps reduce "RAM Cram" because it REQUIRES
  68.      ONLY  6K BYTES OF RAM!  In fact, If you have EMS memory installed
  69.      (see section  2.2) in your computer, XSHELL requires an amazingly
  70.      small 1.5K bytes of conventional DOS memory!.
  71.  
  72.      Each  calculator  can  be  run  individually as an  ordinary  DOS
  73.      program by running either X11.EXE,  X12.EXE, or X16.EXE.  Or, all
  74.      three  calculators  can  be  run  as  a  single  TSR  by  running
  75.      XSHELL.EXE.
  76.  
  77.      XSHELL.EXE will deactivate and unload  itself  from  RAM  after 8
  78.      minutes until you register your copy.  This will allow you to try
  79.      XACT CALCULATORS as a TSR before you register.    Once XSHELL.EXE
  80.      unloads itself, your computer  will  behave  as though XSHELL had
  81.      never been loaded in  the  first  place.   To re-activate XSHELL,
  82.      simply run the program again.  It will again  remain  loaded  for
  83.      another 8 minutes.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.                                    - 2 -
  103.                   Quick Registration for XACT CALCULATORS
  104.  
  105.  
  106.      Registration for XACT  CALCULATORS  is only $27.00.  To register,
  107.      print  a  copy  of  the  file  ORDERFRM.DOC  and  fax or mail the
  108.      completed  form  to  us.  We will quickly fax (or mail) back your
  109.      registration serial number and personal  unlock  code.    Run the
  110.      QUICKREG.EXE program  entering  your  name,  serial  number,  and
  111.      unlock code  and  that's  it,  you're  registered!   QUICKREG.EXE
  112.      serializes XSHELL.EXE and "unlocks" it's 8 minute time limit.
  113.  
  114.      AFTER  YOU'VE  REGISTERED  AND  SUCCESSFULLY   RUN  QUICKREG.EXE,
  115.      XSHELL.EXE WILL NO LONGER HAVE AN  8  MINUTE TIME LIMIT.  It will
  116.      remain resident in your computer's  RAM (waiting for a hot-key to
  117.      become active) until you reboot or manually unload XSHELL.
  118.  
  119.      If you prefer to order your registered copy by mail, feel free to
  120.      mail in your completed form.  A copy of the file  ORDERFRM.DOC is
  121.      shown on the following page.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                                    - 3 -
  160.  
  161.      ----------------------------------------------------------------------
  162.                           FAX this form to: (206)-525-1331
  163.                                      or mail to:
  164.                                    CalcTech, Inc.
  165.                                  6014 NE 60th Street
  166.                                    P.O. Box 15277
  167.                               Seattle, WA.  98115-0277
  168.      ----------------------------------------------------------------------
  169.  
  170.                            XACT CALCULATORS - Version 5.1
  171.                                QUICK REGISTRATION FORM
  172.  
  173.        I wish to register  my copy of XACT CALCULATORS (includes XACT-11C
  174.        Scientific, XACT-12C Financial, and XACT-16C Programmer) today for
  175.        $27.00  (Washington  state residents add 8.2%  sales tax).  Please
  176.        (check one or more boxes below):
  177.  
  178.              [ ]  FAX  my serial number and personal unlock code
  179.                   as soon as possible.
  180.  
  181.                   My FAX number is: ____________________________
  182.  
  183.  
  184.              [ ]  Mail my serial number and personal unlock code
  185.                   as soon as possible.
  186.  
  187.  
  188.              [ ]  Send my  registered copy by mail.  (Enclose an
  189.                   an additional $5.00 for U.S. or Canada, $10.00
  190.                   for overseas air mail).  I prefer (check one):
  191.  
  192.                   [ ] 5.25"  or  [ ] 3.5"  diskettes
  193.  
  194.  
  195.      Name: ______________________________ Company:_________________________
  196.  
  197.      Phone: (Day) ______________________ (Evening) ________________________
  198.  
  199.      Address: _____________________________________________________________
  200.  
  201.      City: ______________________________ State: ________ Zip: ____________
  202.  
  203.      Comments: ____________________________________________________________
  204.  
  205.      ______________________________________________________________________
  206.  
  207.      (check one):      [ ] VISA     [ ] Mastercard     [ ] Check Enclosed
  208.  
  209.      Credit card #: ____________________________________ Expires: ____/____
  210.  
  211.      Cardholder's Name (Please print): ____________________________________
  212.  
  213.      Cardholder's Signature: ______________________________________________
  214.  
  215.  
  216.                                    - 4 -
  217.                           Background Information
  218.  
  219.  
  220.      CalcTech,  Inc.  is  a  company  with a respected history in  the
  221.      development of software calculators.   The  article  "TSR Desktop
  222.      Organizers", (PC  Magazine, Aug. 1987), contained a review of the
  223.      leading desk  accessory programs.  Three of the fourteen products
  224.      reviewed incorporated  calculators  developed  by  CalcTech.    A
  225.      CalcTech  calculator  has  also  won  PC  Magazine's  prestigious
  226.      "Editor's Choice" award.
  227.  
  228.      CalcTech has developed calculators for publishers and  OEM's such
  229.      as  Software  Publishing  Corp.,  Bellsoft  Inc.,  DAC  Software,
  230.      Popular Programs Inc., Timeworks Inc., Practical Peripherals, and
  231.      Monogram Software.
  232.  
  233.  
  234.      Here's What A Few Industry Experts Have To Say:
  235.  
  236.      "XACT-16C...  It has power to burn."    --Johnathan  Matzkin,  PC
  237.      Magazine.
  238.  
  239.      "PC-12C's (OEM version of  XACT-12C)  emulation  of the HP-12C is
  240.      exact, it gets my vote."  --Jim Seymour, PC Magazine
  241.  
  242.      "I found Bellsoft's (OEM version)  Pop-Up  calculator  to  be the
  243.      best for office work" --Mark J. Welch, BYTE.
  244.  
  245.      "When a program performs  flawlessly,  it  makes writing a review
  246.      hard.  Such  is  the  case  with  XACT  CALCULATORS."   --Jacques
  247.      Benavente, PCM Magazine
  248.  
  249.      XACT CALCULATORS have  won  PC Brand's 1989 award for outstanding
  250.      technical merit in a shareware program.
  251.  
  252.  
  253.  
  254.                An Important Note About The Shareware Concept
  255.  
  256.      XACT CALCULATORS are copyrighted shareware  programs.    They are
  257.      not freeware or public domain  software.  Payment is made through
  258.      registration and is on the "honor  system".   We ask that you pay
  259.      for  the programs by registration if  after  a  reasonable  trial
  260.      period, you find them to be  useful  in  your work.  We hope that
  261.      you appreciate the "try  before  you  buy" concept that shareware
  262.      products like XACT CALCULATORS provide and that you will take the
  263.      time to register.
  264.  
  265.      Anyone who has ever  purchased  expensive  (or  even inexpensive)
  266.      software can attest to  the  frustration  of  being "burned" by a
  267.      lousy product.   We think XACT CALCULATORS are excellent products
  268.      and we're giving you  the  opportunity to judge for yourself.  If
  269.      you agree, please take a moment to register.
  270.  
  271.  
  272.  
  273.                                    - 5 -
  274.                              Customer Support
  275.  
  276.      Support for XACT  CALCULATORS  is  provided  to  registered users
  277.      using our voice messaging "access code" feature.  You can call us
  278.      at (206)-527-9950  and leave your question on our voice messaging
  279.      system.  You will be given  an  "access code" which is a password
  280.      for your message.  You may then call back (usually within 1 day),
  281.      enter your access code using your touch-tone phone, and receive a
  282.      voice   message  response  to  your  question.     Alternatively,
  283.      registered users  can send your question via E-mail on CompuServe
  284.      at 71641,1721 or by U.S. mail.
  285.  
  286.      When  contacting  customer  support,  please  be  as  specific as
  287.      possible  with  your  question and be sure to mention the version
  288.      number of your copy of XACT CALCULATORS.
  289.  
  290.  
  291.            User Groups, Electronic Bulletin Boards, Disk Vendors
  292.  
  293.      User Groups, BBS SysOps, and Disk Vendors may receive an official
  294.      copy  of  the  latest shareware version of  XACT  CALCULATORS  by
  295.      submitting  a  written  request  to  CalcTech, Inc.   Please  add
  296.      CalcTech  to  your  organization's  mailing  list  and  send  any
  297.      appropriate  information  such  as  your  group's  newsletter  or
  298.      catalog.
  299.  
  300.  
  301.                       Private Labels, Custom Versions
  302.  
  303.      Private labellings and/or custom versions of XACT CALCULATORS can
  304.      be developed for your  organization.    Please  contact CalcTech,
  305.      Inc. by in writing for a quotation.
  306.  
  307.  
  308.               Government, Corporate, Academic Site Licensing
  309.  
  310.      A site license grants you the legal right to make multiple copies
  311.      of a  "master" registered version and it's documentation for your
  312.      organization or group.
  313.  
  314.      A  site   license  is  non-transferable.    We  accept  Visa  and
  315.      Mastercard, personal or corporate checks,  and  written  (fax ok)
  316.      purchase  orders  (NET  30, FOB Seattle, WA.)  for  site  license
  317.      registration.  The following page is a site license form  you can
  318.      use to fax or mail or mail to us for site licensing.
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.                                    - 6 -
  331.      ----------------------------------------------------------------------
  332.                      FAX this form to: (206)-525-1331
  333.                                 or mail to:
  334.                               CalcTech, Inc.
  335.                             6014 NE 60th Street
  336.                                P.O.Box 15277
  337.                          Seattle, WA.  98115-0277
  338.      ----------------------------------------------------------------------
  339.  
  340.                       XACT CALCULATORS - Version 5.1
  341.                       Site License Registration Form
  342.  
  343.  
  344.           Use  this form to obtain a site license for your company or
  345.           group.  Your  registered copy  will be  sent via U.S. mail.
  346.  
  347.           I wish to register XACT CALCULATORS under a multiple (site)
  348.           license agreement.  Please license my organization to allow
  349.           us to duplicate up to: (check one)
  350.  
  351.           [ ]  10 copies .................................... $100.00
  352.  
  353.           [ ]  100 copies ................................... $350.00
  354.  
  355.           [ ]  1000 copies ................................. $1000.00
  356.  
  357.                WA. state residents add 8.2% ................ $_______
  358.  
  359.                                                        TOTAL $_______
  360.  
  361.  
  362.      Company or Group Name: _______________________________________________
  363.  
  364.      Your Name: ___________________________________ Phone: ________________
  365.  
  366.      Address: _____________________________________________________________
  367.  
  368.      City: ______________________________ State: _________ Zip: ___________
  369.  
  370.  
  371.      Method of Payment: (check one)
  372.  
  373.          [ ]  Check enclosed
  374.  
  375.          [ ]  Bill Me.  Terms are NET 30, FOB Seattle, Washington
  376.               Our  Federal  taxpayer  I.D. number is:  91-1382828
  377.  
  378.               Purchase Order Number (optional): ___________________________
  379.  
  380.          [ ]  Charge my Visa or Mastercard
  381.  
  382.               Cardholder's Name: __________________________________________
  383.  
  384.               Credit Card #: ____________________________ Expires:____/____
  385.  
  386.  
  387.                                    - 7 -
  388.                              License Agreement
  389.  
  390.      You are hereby granted  permission  to  use  this software and to
  391.      distribute  copies  of  the  software  and  documentation  in its
  392.      original  form  as  long as it  is  not  distributed  for  profit
  393.      (handling fees  less  than  $5.00  are  ok).   ONLY COPIES OF THE
  394.      SHAREWARE VERSION  OF  THIS  SOFTWARE  AND  DOCUMENTATION  MAY BE
  395.      DISTRIBUTED  IN ANY FORM.  You are not  allowed  to  make  copies
  396.      (except for backup purposes only) or distribute this software and
  397.      documentation once the software has been registered.
  398.  
  399.      THE SOFTWARE HEREIN ARE PROVIDED  "AS IS" WITHOUT WARRANTY OF ANY
  400.      KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  401.      THE IMPLIED  WARRANTIES  OF  MERCHANTABILITY  AND  FITNESS  FOR A
  402.      PARTICULAR PURPOSE.   THE  ENTIRE  RISK  AS  TO  THE  QUALITY AND
  403.      PERFORMANCE OF THE PROGRAMS IS WITH YOU.
  404.  
  405.      IN  NO  EVENT  SHALL CALCTECH OR ANY OF IT'S OFFICERS, DIRECTORS,
  406.      SHAREHOLDERS, EMPLOYEES,  AFFILIATES,  OWNERS,  OR  OTHER RELATED
  407.      PARTIES BE LIABLE  TO  YOU  OR  ANY OTHER THIRD PARTY FOR DAMAGES
  408.      INCLUDING ANY  LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR
  409.      CONSEQUENTIAL DAMAGES ARISING OUT OF  THE USE OF OR THE INABILITY
  410.      TO USE THIS PRODUCT OR AS TO THE PERFORMANCE OF THIS PRODUCT EVEN
  411.      IF WE HAVE  BEEN  ADVISED  OF  THE POSSIBILITY OF SUCH DAMAGES IN
  412.      ADVANCE.
  413.  
  414.      SOME STATES DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY
  415.      FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO  THE  ABOVE LIMITATION
  416.      OR EXCLUSION MAY NOT APPLY TO YOU.
  417.  
  418.      THIS  AGREEMENT  IS  GOVERNED  BY   THE  LAWS  OF  THE  STATE  OF
  419.      WASHINGTON.
  420.  
  421.  
  422.                            Trademarks/Copyrights
  423.  
  424.      HP-11C, HP-12C, and HP-16C are trademarks of Hewlett-Packard Co.
  425.      Lotus is a trademark of Lotus Development Corp.
  426.      Intel is a trademark of the Intel Corp.
  427.      PC-DOS, IBM-PC, PC-XT, PC-AT and PS/2 are trademarks of IBM.
  428.      MS-DOS, Microsoft Windows and Microsoft Word are trademarks of
  429.      Microsoft Corp.
  430.  
  431.      Copyright (C) 1987-1990, 1991 by CalcTech Inc.
  432.      All rights reserved.
  433.      Specifications herein are subject to change without notice.
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.                                    - 8 -
  445.                              TABLE OF CONTENTS
  446.  
  447.  
  448.      Section  Title                                                 Page
  449.  
  450.      1   Getting Started  .......................................... 11
  451.  
  452.      1.1      Introduction ......................................... 11
  453.      1.2      Other Guides ......................................... 11
  454.      1.3      System Requirements .................................. 11
  455.      1.4      Installing XACT-11C and Making Backups ............... 12
  456.      1.5      Command Line Options & Changing Hot Keys ............. 12
  457.      1.6      Using XACT-11C with Microsoft Windows ................ 13
  458.      1.7      Using XACT-11C on a Network .......................... 13
  459.  
  460.      2   Running XACT-11C .......................................... 14
  461.  
  462.      2.1      Running XACT-11C as a stand-alone DOS program......... 14
  463.      2.2      Running XACT-11C as a TSR Program .................... 14
  464.      2.3      XACT-11C as a Removable TSR Program .................. 15
  465.      2.4      Keyboard Conventions ................................. 16
  466.      2.5      Function Keys ........................................ 16
  467.      2.6      Prefix Keys .......................................... 16
  468.      2.7      Entering Numbers ..................................... 17
  469.      2.8      Short Cut Keys ....................................... 17
  470.  
  471.      3   Basic Operations .......................................... 17
  472.  
  473.      3.1      Setting the Display Format ........................... 17
  474.      3.2      Arithmetic Calculations and RPN ...................... 17
  475.      3.3      Clearing Numbers ..................................... 18
  476.      3.4      Negative Numbers ..................................... 18
  477.      3.5      Mathematical Operations .............................. 19
  478.      3.6      Percentage Operations ................................ 20
  479.      3.7      Exponential Notation ................................. 20
  480.      3.8      Memory Storage Registers ............................. 21
  481.      3.9      Stack Operations ..................................... 21
  482.      3.10     The LastX Register ................................... 21
  483.      3.11     The Index Register and Using Memories Indirectly ..... 22
  484.  
  485.      4   Scientific Functions ...................................... 22
  486.  
  487.      4.1      Trigonometric Functions .............................. 22
  488.      4.2      Angle Conversions .................................... 23
  489.      4.3      Polar/Rectangular Conversions ........................ 23
  490.      4.4      Permutations and Combinations ........................ 24
  491.      4.5      Random Numbers ....................................... 24
  492.  
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.                                    - 9 -
  502.      Section  Title                                                 Page
  503.  
  504.      5   Features .................................................. 24
  505.  
  506.      5.1      Getting Help ......................................... 24
  507.      5.2      Viewing the Tape ..................................... 25
  508.      5.3      Stamping the Tape .................................... 25
  509.      5.4      Printing the Tape .................................... 25
  510.      5.5      Storing the Tape ..................................... 25
  511.      5.6      Loading a Program .................................... 25
  512.      5.7      Storing a Program .................................... 26
  513.  
  514.      6   Programming ............................................... 26
  515.  
  516.      6.1      Entering a Program into XACT-11C ..................... 26
  517.      6.2      Labels in Programs ................................... 27
  518.      6.3      Using Subroutines .................................... 28
  519.      6.4      Returning from a Program or Subroutine ............... 28
  520.      6.5      Entering Data and the Run/Stop Key ................... 28
  521.      6.6      The [GoTo] Instruction ............................... 29
  522.      6.7      Branching Using the Index Register ................... 29
  523.      6.8      Program Loops Using the Index Register ............... 30
  524.      6.9      Program Loops and Branches Using the X and Y Registers 31
  525.      6.10     Branching on Flags Set/Clear ......................... 31
  526.      6.11     The Single Step Instruction .......................... 32
  527.      6.12     Moving to a Program Line Number ...................... 32
  528.      6.13     Inserting and Deleting Program Lines ................. 32
  529.  
  530.      7   Statistical Calculations .................................. 33
  531.  
  532.      7.1      Entering and Removing Numbers ........................ 33
  533.      7.2      Statistical Mean ..................................... 33
  534.      7.3      Standard Deviation ................................... 34
  535.      7.4      Linear Estimate ...................................... 34
  536.      7.5      Linear Regression .................................... 35
  537.  
  538.      Appendix / Error Conditions ................................... 36
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.                                    - 10 -
  559.      1.  Getting Started
  560.  
  561.  
  562.  
  563.      1.1  Introduction
  564.  
  565.      XACT CALCULATORS  are software which emulate the functions of the
  566.      handheld  models  of  Hewlett-Packard's HP-11C Scientific, HP-12C
  567.      Financial, and  HP-16C  Programmer's  calculators.    If  you are
  568.      familiar with one or  more  of  these  calculators, you will find
  569.      that you  already  know  how  to  use  XACT CALCULATORS.  If not,
  570.      you'll find XACT CALCULATORS easy to learn and use.    They  will
  571.      become an invaluable tool in your work.
  572.  
  573.      XACT-11C is the Scientific Calculator program.   XACT CALCULATORS
  574.      also  incorporate  the  XACT-12C  Financial  Calculator  and  the
  575.      XACT-16C Programmer's calculator.
  576.  
  577.      If you are already familiar with DOS and with the HP-11C, you may
  578.      only need to read Chapters 2 and 3.    This  will  provide enough
  579.      information to get you started.
  580.  
  581.      If you are new to DOS and/or the HP-11C, you may wish to read, or
  582.      at least skim, Chapters 1 through 6.
  583.  
  584.  
  585.  
  586.      1.2  Other Guides
  587.  
  588.      There are a number  of  guides  and  references available for the
  589.      HP-11C  that  can  be  used  with  XACT-11C  as  well.  These are
  590.      generally available in bookstores and other places where Hewlett-
  591.      Packard calculators are sold.   Some  of  these  publications are
  592.      listed below.
  593.  
  594.      "HP-11C  Owner's  Handbook  and  Problem  Solving  Guide"  Covers
  595.      general  operations, functions, applications, and programming  of
  596.      the HP-11C.  Published by the Hewlett-Packard Company.
  597.  
  598.      Grapevine Publishing, Inc. P.O. Box  118,  Corvallis,  OR, 97339,
  599.      also has a number of publications about the HP-11C.
  600.  
  601.  
  602.  
  603.      1.3  System Requirements
  604.  
  605.      To operate the XACT-11C calculator, you will need an IBM PC,  PC-
  606.      XT, PC-AT, PS/2, or close compatible equipped with  at  least the
  607.      following:
  608.  
  609.         256K RAM
  610.         One floppy disk drive
  611.         PC-DOS or MS-DOS version 3.00 or later
  612.  
  613.  
  614.  
  615.                                    - 11 -
  616.      1.4  Installing XACT CALCULATORS and Making Backups
  617.  
  618.      You  should make a copy of the programs  contained  on  the  XACT
  619.      CALCULATORS diskette for  backup  purposes.  Use  the  DOS "copy"
  620.      command to copy all the files to another diskette or to your hard
  621.      disk.  There may be a file named README.DOC on your disk.  If so,
  622.      you should examine it using your word processor or the DOS "type"
  623.      command.
  624.  
  625.  
  626.  
  627.      1.5  Command Line Options/Changing Hot-Keys
  628.  
  629.      A command line option  is  an  additional  command typed when you
  630.      first load X11.EXE or  XSHELL.EXE.    There  are several of these
  631.      options available.  For example, if you wish to start XACT-11C in
  632.      scientific notation, you would type:
  633.  
  634.          x11  /sci  [ENTER]
  635.  
  636.      ([ENTER] means press the ENTER key).
  637.  
  638.      The  following  is  a list of available command line options when
  639.      running XACT-11C.
  640.  
  641.          /mono         Force XACT-11C into monochrome mode
  642.          /sci          Start up XACT-11C in scientific notation
  643.          /nomouse      Disable mouse operation
  644.          /nosignon     Disable the signon screen
  645.          /swap=<path>  Directory/Path used to store swap files
  646.  
  647.      There are additional command line options available  when running
  648.      the  program  XSHELL.EXE.   The following  is  a  list  of  these
  649.      options.
  650.  
  651.          /alt          Changes invocation key to Alt-s (XACT-11C),
  652.                        Alt-f (XACT-12C), Alt-p (XACT-16)
  653.          /alt-ctrl     Change invocation key to Alt-Ctrl-s (XACT-11C),
  654.                        Alt-Ctrl-f (XACT-12C), Alt-Ctrl-p (XACT-16C)
  655.          /mono         Force XACT CALCULATORS into monochrome mode
  656.          /sci          Set scientific notation (XACT-11C only)
  657.          /noems        Disable EMS memory usage (if EMS memory present)
  658.          /nomouse      Disable mouse operation
  659.          /nosignon     Disable the signon screen
  660.          /swap=<path>  Directory/Path used for swap files.  (See section
  661.                        on using XACT CALCULATORS on a network)
  662.          /wsize=nn     Set word size (XACT-16C only). Valid settings
  663.                        for nn are 2 to 64.
  664.          /radix=n      Set radix (XACT-16C only). Valid settings for
  665.                        n are h,d,o,b, or f (hex,dec,oct,bin,float)
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.                                    - 12 -
  673.      1.6 Using XACT-11C with Microsoft Windows
  674.  
  675.  
  676.      If you use Microsoft Windows, you  may  wish to set up Windows to
  677.      run  XACT-11C.    XACT-11C  will  run as an ordinary "text  mode"
  678.      application under Windows  which  can  be  set  up  to  be either
  679.      windowed or in full screen mode.
  680.  
  681.      To run XACT-11C under Windows, you should first create a PIF file
  682.      which is used to "describe" the program to Windows.  Use  the PIF
  683.      editor  (pifedit.exe)  to  create  an  x11.pif  file.    For  the
  684.      "optional parameters" field, type in /nosignon  so  that XACT-11C
  685.      won't  display  it's  startup screen every time you click on it's
  686.      icon.  Also make sure that the "KB required" field is set to 128.
  687.      (For additional information on using  the  PIF  editor,  see your
  688.      Windows documentation).
  689.  
  690.      Once you  have  created  a  PIF  file,  you will probably want to
  691.      create an icon  so  you  can  easily  invoke  XACT-11C  by double
  692.      clicking  on an icon.  We have supplied a custom icon you can use
  693.      to do  this.    From  the  Windows  program manager, create a new
  694.      program  item  and  in the "command line" field, type in x11.pif.
  695.      Then select the "change  icon"  button and type in xact.ico.  (If
  696.      you're unclear  on  these  procedures,  they're  also  covered in
  697.      Microsoft's Windows documentation).
  698.  
  699.  
  700.      1.7  Using XACT-11C on a Network
  701.  
  702.      XACT-11C  and  all  XACT  CALCULATORS  are  compatible  with most
  703.      networks.    If  you  wish  to  use  them on a network, read  the
  704.      following information.
  705.  
  706.      All XACT CALCULATORS use a technique known as  swapping  in order
  707.      to save memory as well as save the state of each  calculator each
  708.      time  you  finish  using  it.    Swapping  creates  a  number  of
  709.      "temporary" files.  By default, these files are saved in the same
  710.      directory as the XACT CALCULATOR  programs themselves.  If two or
  711.      more  users on a network are running  a  calculator,  their  swap
  712.      files  will eventually corrupt each other, causing  unpredictable
  713.      results.  There are 2 different ways to avoid this problem.  Both
  714.      involve  changing  the  directory  in  which the swap  files  are
  715.      stored.
  716.  
  717.      The  first  method  is by using an environmental variable to tell
  718.      XACT  CALCULATORS  the  path to use to store its swap files.  For
  719.      example, assume you have  2  network users (Jan and Bill) each of
  720.      which  have access to network drive N:.   Assume  also  that  the
  721.      directorys  N:\USER\JAN\TEMP  and  N:\USER\BILL\TEMP have already
  722.      been created on drive  N:   The environmental variable can be set
  723.      by putting the following statement in Jan's AUTOEXEC.BAT file:
  724.  
  725.         SET XACT=N:\USER\JAN\TEMP
  726.  
  727.  
  728.  
  729.                                    - 13 -
  730.      whereas Bill's AUTOEXEC.BAT file would contain the statement:
  731.  
  732.         SET XACT=N:\USER\BILL\TEMP
  733.  
  734.      Now  even though Jan and Bill may be running the same copy of one
  735.      of the calculators, they would  each have separate copies of swap
  736.      files and there would be no conflict.
  737.  
  738.      The second method uses  the  same idea, however, the swap path is
  739.      chosen from the command line.  For example:
  740.  
  741.         X11 /SWAP=C:\TEMP
  742.  
  743.      would place the swap files  in the directory C:\Temp, assuming it
  744.      existed.
  745.  
  746.  
  747.  
  748.      2.  Running XACT-11C
  749.  
  750.  
  751.  
  752.      2.1  Running XACT-11C as a stand-alone DOS program
  753.  
  754.      To run XACT-11C, at the DOS prompt type:
  755.  
  756.          x11  [ENTER]
  757.  
  758.  
  759.  
  760.      2.2  Running XACT-11C as a TSR program
  761.  
  762.      To run XACT-11C as a TSR program, type
  763.  
  764.          xshell  [ENTER]
  765.  
  766.      You will see  the  copyright  message  appear on the screen.  The
  767.      computer  will then return to the DOS prompt  and  appear  as  if
  768.      nothing  had  happened.    However,  the  XACT  CALCULATORS shell
  769.      program  has now been loaded into your  computer's  memory.    To
  770.      activate XACT-11C, press:
  771.  
  772.          Alt-Shift-S
  773.  
  774.      XACT-11C  will  now  appear  on  your  screen,  ready to  perform
  775.      calculations.    To  exit from XACT-11C, press the Esc key.  In a
  776.      likewise fashion, to run the XACT-12C  financial  calculator, you
  777.      would  instead  press  Alt-Shift-F,  and  to  run   the  XACT-16C
  778.      Programmer's calculator you would  press  Alt-Shift-P.    You can
  779.      also unload XSHELL from RAM by pressing Alt-Shift-U.
  780.  
  781.      When you run XSHELL, it will use between  1.5K  and  6K  bytes of
  782.      your computer's RAM.  To determine exactly how much memory XSHELL
  783.      is using, you can run the DOS command "chkdsk"  both  before  and
  784.  
  785.  
  786.                                    - 14 -
  787.      after running XSHELL and  noting  the  difference in memory bytes
  788.      free.   If you are unfamiliar with this  command,  see  your  DOS
  789.      reference manual.
  790.  
  791.      EMS (Expanded memory specification)  memory  is  a type of memory
  792.      specification that was developed  jointly  by  Lotus,  Intel, and
  793.      Microsoft.   EMS memory was developed as  a  work-around  to  get
  794.      around the  640K  DOS  memory  limitation.    In order to use EMS
  795.      memory, a program must be  written specifically to use EMS memory
  796.      (if available).  XSHELL is such  a  program.   If you have an EMS
  797.      memory board installed in your  computer, XSHELL will put as much
  798.      of  itself  in  EMS memory as it can and will  also  "swap"  your
  799.      computer's memory to EMS memory  when  you  pop-up  a calculator.
  800.      With EMS memory installed, XSHELL  will require less than 1.5K of
  801.      DOS  memory!.    If  you  don't  have  EMS memory but have a  386
  802.      computer,  there are several commercial programs available  which
  803.      can "simulate" EMS memory.
  804.  
  805.      Even if you don't have EMS memory installed, XSHELL requires less
  806.      than 6K bytes  of  DOS  memory.   Without EMS memory, XSHELL will
  807.      swap to disk, creating the file XSHELL.SWP.  This file may  be as
  808.      large as 131k bytes.
  809.  
  810.      If you have not  registered  your  copy  of XACT CALCULATORS, you
  811.      will only be able to use them as  a  TSR  program  for 8  minutes
  812.      before they automatically unload themselves from memory.  After 8
  813.      minutes,  you  will  hear  a  tone  telling  you that  XSHELL  is
  814.      unloading.  You will have to run XSHELL  again  in  order  to use
  815.      XACT CALCULATORS as a TSR.  Once you have registered and received
  816.      your serial number and unlock code, you can  enter  these numbers
  817.      into  the program QUICKREG.EXE which will  remove  the  8  minute
  818.      limit from XSHELL.  You can always run X11.EXE as a (non-TSR) DOS
  819.      program without any limitations whatsoever.
  820.  
  821.  
  822.  
  823.      2.3  XACT-11C as a Removable TSR Program
  824.  
  825.      When the shell program is loaded  as  a TSR program as in section
  826.      2.1 above, it remains loaded in your computer's memory until your
  827.      computer  is  rebooted  or powered off.    To  unload  the  shell
  828.      program, press:
  829.  
  830.          Alt-Shift-U
  831.  
  832.      Unloading the shell  program  will  not  work  if  any  other TSR
  833.      programs have been loaded after XSHELL.EXE.   Unfortunately, this
  834.      is a limitation of MS-DOS itself.
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.                                    - 15 -
  844.      2.4  Keyboard Conventions
  845.  
  846.      Throughout this manual, XACT-11C function keys are denoted within
  847.      a  box.    For example, the function key for the sine function is
  848.      shown as [SIN].  In the case of  function  keys  which  require a
  849.      prefix key (discussed in the next section), the prefix key is not
  850.      given in this manual since it can easily be determined.
  851.  
  852.      Keys on the PC keyboard are listed in this  manual  using  single
  853.      quotes  such as 'a'.  Numbers to be  entered  into  XACT-11C  are
  854.      shown in normal type.
  855.  
  856.  
  857.  
  858.      2.5  Function Keys
  859.  
  860.      XACT-11C has approximately 70 different function keys arranged in
  861.      the same ordering as  on  the HP-11C.  Function keys are arranged
  862.      in  groups of up to 3 functions per key; an upper, a lower and  a
  863.      middle  function  all  correspond to one function key.  The upper
  864.      and  lower  functions  are invoked by first pressing a prefix key
  865.      (discussed in the next  section)  and then the function key.  The
  866.      middle function does not require the use of a prefix key.  The PC
  867.      keystroke corresponding to function key is  shown  immediately to
  868.      the left of the function box.
  869.  
  870.      The  first  row  of function keys use the PC keys F1 through F10.
  871.      The second through  fourth  rows use the alphabetic characters as
  872.      arranged left to right on your PC keyboard.
  873.  
  874.      For  example,  the  [SIN]  function  on  XACT-11C  is invoked  by
  875.      pressing the letter 'e' on the PC keyboard.  Likewise,  the [RCL]
  876.      function is invoked  by  pressing  the  letter  'b'.    The [e^x]
  877.      function is invoke by pressing F2.
  878.  
  879.  
  880.  
  881.      2.6  Prefix Keys
  882.  
  883.      The left shift key and the right shift  key  on  the  PC keyboard
  884.      operate as prefix keys.  They  are  equivalent  to the gold [ f ]
  885.      key and the blue [  g ] key on the HP-11C.  Prefix keys allow you
  886.      to activate the  upper  and  lower  functions  assigned  to  a PC
  887.      function key.  For  example,  to  invoke  the [HYP] function, you
  888.      would press and release the left shift key, and  then  press  the
  889.      letter 'w'.  Likewise, to  invoke the [HYP-1] function, you would
  890.      press and release the  right  shift key and then press the letter
  891.      'w'.  To invoke  the  [LOG] function, press and release the right
  892.      shift key, and then press F3.
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.                                    - 16 -
  901.      2.7  Entering Numbers
  902.  
  903.      To enter numbers into  XACT-11C,  use  the  numeric keypad on the
  904.      right  side of your keyboard or the  numbers  on  the  typewriter
  905.      portion of the keyboard.
  906.  
  907.  
  908.  
  909.      2.8  Short Cut Keys
  910.  
  911.      You can use the Enter key  on  the  PC, (also known as the Return
  912.      key) as the XACT-11C [ENTER] key  as  a short cut. Also, the '+',
  913.      '-', '*', and '/' keys adjacent to the numeric keypad function as
  914.      you would expect.
  915.  
  916.  
  917.  
  918.      3.  BASIC OPERATIONS
  919.  
  920.  
  921.      3.1  Setting the Display Format
  922.  
  923.      When you first start  it  up,  XACT-11C  defaults to displaying 4
  924.      digits  to  the  right  of  the  decimal  point.   To change this
  925.      setting, you can use  the  [Fix], the [Sci] or the [Eng] function
  926.      keys followed by  a number from 0 to 9 (enter numbers  using  the
  927.      numeric keypad).  This number  represents  the  number  of digits
  928.      displayed  to the right of the decimal point. The  [Fix] function
  929.      is used to  display  numbers in fixed (non-exponential  notation)
  930.      format.  A number will not be displayed  in  exponential notation
  931.      unless  it  is  too large to be displayed.  The [Sci] function is
  932.      used  to  display  numbers  in  scientific notation.   The  [Eng]
  933.      (Engineering)  display  function  is  much  like  the  scientific
  934.      format  except  that  the  exponent  displayed will always  be  a
  935.      multiple of 3 (kilo).
  936.  
  937.      Note that the  display    format  does   not affect the number of
  938.      digits used to perform calculations, only the way  in  which they
  939.      are displayed.  If you were  using  a 2 digit display format, the
  940.      number  12.006  would  be shown on the display as 12.01.  In this
  941.      example, the display  has  been  rounded  to  2  digits  past the
  942.      decimal point.    However,  the  internal  representation  of the
  943.      number is still kept as 12.006,  and  this value would be used in
  944.      subsequent calculations.
  945.  
  946.      To round the number internally to match the number in the display
  947.      use the [Rnd] key.  In the above example, if  the  [Rnd] key were
  948.      pressed, the internal  value  12.006 would be converted to 12.01.
  949.      To set the display format  for scientific notation, use the [Sci]
  950.      function  key,  again  followed by a number between 0 and 9.  For
  951.      engineering notation (the exponent is a multiple of  3),  use the
  952.      [Eng] function key followed by a number between 0 and 9.
  953.  
  954.  
  955.  
  956.  
  957.                                    - 17 -
  958.      3.2  Arithmetic Calculations and RPN
  959.  
  960.      You may already  be  familiar with Reverse Polish Notation (RPN).
  961.      RPN is a type of calculator logic that eliminates  the  need  for
  962.      the  equals  key  and  the  use of parenthesis  in  computations.
  963.      Instead,  multiple  operands  are  entered  into  the  calculator
  964.      separated by the [ENTER] key.  For example, to add the  numbers 3
  965.      and 4:
  966.  
  967.      Keystroke                Display        Comment
  968.      ================================================================
  969.         3  [ENTER]            3.00
  970.         4  [ + ]              7.00           Add 3 + 4
  971.  
  972.      The result, 7.00 is now displayed.  To multiply this result by 5:
  973.  
  974.      Keystroke                Display        Comment
  975.      ================================================================
  976.         5  [ * ]              35.00          7.00*5.00
  977.  
  978.  
  979.      The way that XACT-11C performs  these calculations with RPN is by
  980.      using a stack.  The stack consists of 4 registers:  X,  Y, Z, and
  981.      T.
  982.  
  983.      Any number displayed is said to be in the X  register.   When the
  984.      [ENTER]  key is pressed, a number in the  X  Register  is  pushed
  985.      into the Y Register and the previous number in the Y  Register is
  986.      pushed  into  the  Z  Register.    The  previous  number in the Z
  987.      register is pushed into the T  Register.   T stands for "Top" and
  988.      represents the top of  the  stack of numbers.  The previous value
  989.      of  the T register is lost.  When a function key such as the  [+]
  990.      key  is pressed, the value held in the Y register is added to the
  991.      X register  and  this  result  is  now  stored in the X register.
  992.      Pressing  [ENTER]  does  one  other  thing, it leaves  the  stack
  993.      disabled.  This means that a number entered after the [ENTER] key
  994.      has  been pressed is not pushed on the stack, it remains in the X
  995.      register.  When a calculator function key is pressed, it utilizes
  996.      numbers on the stack to  perform the function. Depending upon the
  997.      function, it may alter  the  X and/or Y registers, and also leave
  998.      the stack enabled or disabled.
  999.  
  1000.      Most operations leave the stack "enabled" so that the next number
  1001.      entered will first  push  the  stack.   The [ENTER] and the [CLx]
  1002.      functions are the most notable exceptions to this rule.
  1003.  
  1004.  
  1005.  
  1006.      3.3  Clearing Numbers
  1007.  
  1008.      You can  clear  a  number  in  the  display by pressing the [CLx]
  1009.      function  key.  The calculator is now  ready  to  accept  another
  1010.      entry.  Unlike other calculators, XACT-11C does not require a key
  1011.      for clearing a number  and  a different key for clearing the last
  1012.  
  1013.  
  1014.                                    - 18 -
  1015.      entry.  Whether you have made a mistake  in  adding  a  series of
  1016.      numbers, or simply wish to start a new calculation, use the [CLx]
  1017.      function  key.    The [Bksp] key  will  clear  a  number  in  two
  1018.      different manners.    If  you  are  in  the process on entering a
  1019.      number, but have not pressed a function  key yet, the  [Bksp] key
  1020.      will clear the last numeric digit entered.  On the other hand, if
  1021.      the most recent key pressed was a function key (for  example, the
  1022.      [e^x] key), pressing [Bksp]  works  just  like  the [CLx] key, it
  1023.      clears the number in the x register.
  1024.  
  1025.      XACT-11C  also  contains  other  function  keys    to  clear  the
  1026.      following:
  1027.  
  1028.          [S]     (Greek Sigma character) Clear Sum.  Used to clear
  1029.                  statistical registers.
  1030.          [Prgm]  Clear Program.  Used to clear the program memory when
  1031.                  programming XACT-11C.
  1032.          [Reg]   Clear Registers.  Used to clear all registers;
  1033.          [Prfx]  Clear the [ f ] or [ g ] prefix keys.
  1034.  
  1035.  
  1036.  
  1037.      3.4  Negative Numbers
  1038.  
  1039.      To  change  the  sign of a number in the display, press the [ChS]
  1040.      (Change Sign) function key.  The [ChS] function  will  toggle the
  1041.      sign of the  value in the display.  The [ChS] key is also used to
  1042.      change the sign of an exponent if you    are  using   exponential
  1043.      notation.
  1044.  
  1045.  
  1046.  
  1047.      3.5  Mathematical Operations
  1048.  
  1049.      XACT-11C contains a large number  of  commonly  used mathematical
  1050.      functions.
  1051.  
  1052.  
  1053.          [x^2]       Square of a number.
  1054.          [ x ]       Square root of a number.
  1055.          [Ln]        Natural log of a number.
  1056.          [Log]       Base 10 log of a number.
  1057.          [10^x]      Raise 10 to the value in the x register
  1058.          [e^x]       Exponential of a number.
  1059.          [1/X]       Reciprocal of a number.
  1060.          [Intg]      Return the integer portion of a number.
  1061.          [Frac]      Return the fractional portion of a number.
  1062.          [y^x]       Raise a number to a power of another number.
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.                                    - 19 -
  1072.      3.6  Percentage Operations
  1073.  
  1074.      Use the [ % ] key to calculate the percent amount of a number and
  1075.      the  [D%] (the D is shown as a Greek delta symbol on XACT-11C) to
  1076.      calculate the difference in percent one number is from another.
  1077.  
  1078.      Determine the total amount you would  pay  for a $39.95  radio if
  1079.      the sales tax is 8.1%.
  1080.  
  1081.      Keystroke                Display        Comment
  1082.      ================================================================
  1083.  
  1084.      39.95 [ENTER]            39.9500
  1085.      8.1 [ % ]                3.2360         Sales tax
  1086.      [ + ]                    43.1860        Total paid.
  1087.  
  1088.      You would pay $43.19 including sales tax.
  1089.  
  1090.  
  1091.      What is 20% of $3500.00?
  1092.  
  1093.      Keystroke                Display        Comment
  1094.      ================================================================
  1095.      3500 [ENTER]             3500.00
  1096.      20 [ % ]                 700.00
  1097.  
  1098.  
  1099.      Example: Gasoline prices fell last month from an average of $1.09
  1100.      to $.98.  What percent difference does this represent?
  1101.  
  1102.      Keystroke                Display        Comment
  1103.      ================================================================
  1104.      1.09 [ENTER]             1.0900
  1105.      .98 [D%]                 -10.0917
  1106.  
  1107.      Gasoline prices have fallen 10.09%.
  1108.  
  1109.  
  1110.  
  1111.      3.7  Exponential Notation
  1112.  
  1113.      Use  exponential  notation  to  enter  very large or  very  small
  1114.      numbers into XACT-11C.   The  [EEx] function key is used to enter
  1115.      an  exponent.    For  example,  to  enter  the   number   12  E09
  1116.      (12,000,000,000) type:
  1117.  
  1118.      Keystroke                Display        Comment
  1119.      ================================================================
  1120.      12 [EEx] 9               12.0000  +09
  1121.  
  1122.      Likewise, to enter the number 12-09, type:
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.                                    - 20 -
  1129.      Keystroke                Display        Comment
  1130.      ================================================================
  1131.      [CLx]                    0.0000
  1132.      12 [EEx] 9               12.0000 +09
  1133.      [ChS]                    12.0000 -09
  1134.  
  1135.      3.8  Memory Storage Registers
  1136.  
  1137.      XACT-11C contains 20 different memory storage registers,  used to
  1138.      perform  storage  and  memory  arithmetic  calculations.    These
  1139.      memories will  retain their values until your computer is powered
  1140.      off or re-booted.  Memory registers in XACT-11C  are  referred to
  1141.      as R0-R9 (for register 0 through  9), and R.0  through  R.9.  For
  1142.      example, to store the value 20.3 in memory register 2, type:
  1143.  
  1144.      Keystroke                Display        Comment
  1145.      ================================================================
  1146.      20.3 [Sto] 2             20.3000
  1147.  
  1148.      To add the number 9.6 to the contents of register 2, type:
  1149.  
  1150.      Keystroke                Display        Comment
  1151.      ================================================================
  1152.      9.6 [Sto] [ + ] 2        9.6000
  1153.  
  1154.      Now, if you wish to view the contents of memory register 2, type:
  1155.  
  1156.      Keystroke                Display        Comment
  1157.      ================================================================
  1158.      [Rcl] 2                  29.9000
  1159.  
  1160.      Memory register 2 contains the value 29.90.
  1161.  
  1162.  
  1163.  
  1164.      3.9  Stack Operations
  1165.  
  1166.      The  [x<>y]  function  exchanges the contents  of  the  X  and  Y
  1167.      registers.  The  [R|] (shown  as  R followed by an arrow pointing
  1168.      downward  on  XACT-11C)  function  rolls  down the stack.  The  T
  1169.      register is copied into the Z register.  The Z register is copied
  1170.      into the Y  register,  and  the  Y  register is copied into the X
  1171.      register.  The X register is "rolled around" into the T register.
  1172.  
  1173.  
  1174.      3.10  The LastX Register
  1175.  
  1176.      The [LSTx] function key  is  not technically a part of the stack.
  1177.      It is used to recover  numbers entered just before a mathematical
  1178.      operation  was  performed  on the stack.  The number recovered is
  1179.      held  in  a register referred to as  the  LastX  register.    For
  1180.      example,  assume  you  meant  to  add  the  numbers  12 and 5 but
  1181.      accidentally pressed 6 instead of  5.
  1182.  
  1183.  
  1184.  
  1185.                                    - 21 -
  1186.      Keystroke                Display        Comment
  1187.      ================================================================
  1188.      12 [ENTER]               12.00
  1189.      6 [ + ]                  18.00         Wrong value
  1190.      [Lstx]                   6.00
  1191.      [ - ]                    12.00         Subtract
  1192.      5 [ + ]                  17.00         Correct result
  1193.  
  1194.  
  1195.  
  1196.      3.11  The Index Register and Using Memories Indirectly
  1197.  
  1198.      Memories  can  also  be  accessed  indirectly  using   the  Index
  1199.      register.  The index register is accessed with  the  [I] function
  1200.      key.    A  number may be stored in the index register using [Sto]
  1201.      [I] and recalled from the index register using [Rcl] [I].   Also,
  1202.      the [x<>I] function key  is  used to exchange the X register with
  1203.      the Index register in the same fashion as the [x<>y] function key
  1204.      is used to exchange the X and Y registers.  For example:
  1205.  
  1206.      Keystroke                Display        Comment
  1207.      ================================================================
  1208.      5 [Sto] [ I ]            5.0000         Register I= 5
  1209.      20 [Sto] [(i)]           20.0000        Register 5 = 20
  1210.      [CLx]                    0.0000         Clear X reg
  1211.      [Rcl] 5                  20.0000        Reg 5 = 20
  1212.  
  1213.      In the above example, the  Indirect Index Register [(i)] was used
  1214.      to store a number indirectly.  The memory  register  accessed was
  1215.      determined by the contents  of  the  [I]  register.  Memories can
  1216.      also be  recalled indirectly using the operation [Rcl] [(i)], and
  1217.      exchanged  with  the  X  register  indirectly  using  the  [x(i)]
  1218.      function.
  1219.  
  1220.  
  1221.  
  1222.      4.  SCIENTIFIC FUNCTIONS
  1223.  
  1224.      XACT-11C provides a  rich  set  of  scientific  and trigonometric
  1225.      functions to choose from.  Each of these will be described below.
  1226.  
  1227.  
  1228.      4.1  Trigonometric Functions
  1229.  
  1230.      XACT-11C  contains  a complete set  of  trigonometric  functions,
  1231.      including hyperbolics.  Trig functions can be displayed in either
  1232.      Degrees by pressing  the  [Deg] function key; Radians by pressing
  1233.      the [Rad] function key, or Grads by pressing  the  [Grd] function
  1234.      key.  The available trig functions are as follows:
  1235.  
  1236.  
  1237.          [Sin]       Sine function
  1238.          [Cos]       Cosine function
  1239.          [Tan]       Tangent function
  1240.  
  1241.  
  1242.                                    - 22 -
  1243.          [Sin-1]     Arc Sine function
  1244.          [Cos-1]     Arc Cosine function
  1245.          [Tan-1]     Arc Tangent function
  1246.  
  1247.      In  addition,  the  [Hyp] or the [Hyp-1] functions can be pressed
  1248.      prior to pressing [Sin], [Cos], or [Tan] functions to compute the
  1249.      hyperbolic or inverse hyperbolics of these functions.
  1250.  
  1251.  
  1252.      Keystroke                Display        Comment
  1253.      ================================================================
  1254.      [Deg]                                   Degree mode
  1255.      30 [Sin]                 0.5000         Sine of 30 degrees
  1256.      [Rad]                    0.5000         Use radian mode.
  1257.      [Pi]                     3.1416
  1258.      [Cos]                   -1.0000         Cosine of Pi radians
  1259.      [Deg]                   -1.0000         Use degree mode.
  1260.      1 [Tan-1]               45.0000         Arc Tangent of 1
  1261.  
  1262.  
  1263.  
  1264.      4.2  Angle Conversions
  1265.  
  1266.      Use XACT-11C to convert from  Degrees to Radians and from Radians
  1267.      to Degrees with the [->Rad] and [->Deg] functions respectively.
  1268.  
  1269.      You can  also  convert  from  fractional  degrees  (or fractional
  1270.      hours)  to  minutes  and  seconds  with the [->H.ms] key and from
  1271.      minutes  and  seconds  to  fractional  degrees    with the  [->H]
  1272.      function key
  1273.  
  1274.      Keystroke                Display        Comment
  1275.      ================================================================
  1276.      60 [Rad]                 1.0472         Convert to radians
  1277.      1.333 [H.ms]             1.1959         1 hr 19 min 59 sec
  1278.  
  1279.  
  1280.  
  1281.      4.3  Polar/Rectangular Conversions
  1282.  
  1283.      XACT-11C can convert between  polar  and  rectangular coordinates
  1284.      with  the  [->P]  and  [->R]  functions  respectively.  For polar
  1285.      coordinates,  the  magnitude  "r"  is  placed/returned  in  the y
  1286.      register, and the angle theta is placed in the x register.  Theta
  1287.      may be in degrees, radians, or grads depending upon the trig mode
  1288.      set.  For rectangular coordinates,  the y coordinate is placed in
  1289.      the y register and the x coordinate in the x register.
  1290.  
  1291.      Keystroke                Display        Comment
  1292.      ================================================================
  1293.      1 [ENTER]
  1294.      1.3                      1.3000         x = 1.3, y = 1.0
  1295.      [->P]                    1.6401         magnitude "r" = 1.6401
  1296.      [x<>y]                   37.5686        theta = 37.5686 degrees
  1297.  
  1298.  
  1299.                                    - 23 -
  1300.      4.4  Permutations and Combinations
  1301.  
  1302.      XACT-11C can calculate the two most common probability functions.
  1303.      Combinations are the number groups of y items, taken in groups of
  1304.      x, without regard to their order.  Permutations are the number of
  1305.      different changes in position possible  within a group of y where
  1306.      the group size is x.
  1307.  
  1308.      For   example,   the  number  of   different   permutations   and
  1309.      combinations of the  group  1  through  7 inclusive, taken 3 at a
  1310.      time are:
  1311.  
  1312.      Keystroke                Display        Comment
  1313.      ================================================================
  1314.      7 [ENTER]                7.0000
  1315.      3 [Cy,x]                 35.0000        combinations
  1316.      7 [ENTER]                7.0000
  1317.      3 [Py,x]                 210.0000       permutations
  1318.  
  1319.  
  1320.  
  1321.      4.5  Random Numbers
  1322.  
  1323.      XACT-11C will generate a  different  random  number each time the
  1324.      [Ran#] function key is pressed.  The generated number will  be in
  1325.      the range 0 < n  < 1.  In addition, a random number "seed" may be
  1326.      planted by storing  an  arbitrary  number  between 0 and 1 in the
  1327.      Random number generator register.
  1328.  
  1329.      Keystroke                Display        Comment
  1330.      ================================================================
  1331.      [Ran#]                   0.4100         Random number
  1332.      [Ran#]                   0.1847         Random number
  1333.      .123 [Sto] [Ran#]        0.1230         An arbitrary seed.
  1334.      [Ran#]                   0.6334         Random number with seed
  1335.  
  1336.  
  1337.  
  1338.      5.  Features
  1339.  
  1340.  
  1341.      5.1  Getting Help
  1342.  
  1343.      A Help menu is available when you are working with XACT-11C.   To
  1344.      obtain  help  press:
  1345.  
  1346.          Alt-F1
  1347.  
  1348.      An information screen will appear in a window.  The help menu can
  1349.      be removed by pressing F1 again.
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.                                    - 24 -
  1357.      5.2  Viewing the Tape
  1358.  
  1359.      XACT-11C provides a  simulated  tape display which keeps a record
  1360.      of your  calculations  as  you  perform  them.   To view the tape
  1361.      press:
  1362.  
  1363.         Alt-F2
  1364.  
  1365.      The tape will appear in a window.  To remove  the  tape, press F2
  1366.      again.
  1367.  
  1368.  
  1369.  
  1370.      5.3  Stamping the Tape
  1371.  
  1372.      To stamp a message on the simulated tape press:
  1373.  
  1374.          Alt-F4
  1375.  
  1376.      The message will appear on the tape as  well  as  the  printer or
  1377.      tape disk file if either of these options are being used.
  1378.  
  1379.  
  1380.  
  1381.      5.4  Printing the Tape
  1382.  
  1383.      To print the tape as you make calculations press:
  1384.  
  1385.          Alt-F5
  1386.  
  1387.      To turn off printing, press F5 again.
  1388.  
  1389.  
  1390.  
  1391.      5.5  Storing the Tape
  1392.  
  1393.      The simulated tape may be  saved  to  a  disk  file  as  you make
  1394.      calculations.   Each  time you  use  XACT-11C,  calculations  are
  1395.      appended to the tape file.  To store the tape, press
  1396.  
  1397.          Alt-F6
  1398.  
  1399.      The tape will be saved under the name X11.ASC  in  the  directory
  1400.      which you started XACT-11C in.
  1401.  
  1402.  
  1403.  
  1404.      5.6  Loading a Program
  1405.  
  1406.      To load a program previously saved press:
  1407.  
  1408.          Alt-F7
  1409.  
  1410.  
  1411.  
  1412.  
  1413.                                    - 25 -
  1414.      A window  will  appear  requesting  a  file  name.  Enter the DOS
  1415.      filename  of the program you wish to retrieve.
  1416.  
  1417.  
  1418.  
  1419.      5.7  Storing a Program
  1420.  
  1421.      XACT-11C  allows  you  to save programs as disk files.  To save a
  1422.      program  on disk, press:
  1423.  
  1424.          Alt-F8
  1425.  
  1426.      A window will appear prompting you for comments.  You   can enter
  1427.      up   to 3 lines of comments, associated with the program you  are
  1428.      saving.  Press  the  Esc key after you have entered any comments.
  1429.      Another window will  appear  prompting you for a filename.  Enter
  1430.      any  valid DOS filename.
  1431.  
  1432.  
  1433.  
  1434.      6.  PROGRAMMING
  1435.  
  1436.  
  1437.      Programming  XACT-11C  is  a  process  whereby  you  "teach"  the
  1438.      calculator a series of keystrokes, similar to the  way  you would
  1439.      normally enter the keystrokes if  you  were  computing  a problem
  1440.      manually.  In addition,  you  can  have  a program take different
  1441.      actions in a program  based  upon  values contained in registers.
  1442.      For example, the program could  take a different course of action
  1443.      if the value contained in the X register is less-than-or-equal-to
  1444.      the value  in  the  Y  register.    This is known as "conditional
  1445.      branching".    Programming  also  allows  you  to   repeat  given
  1446.      keystroke sequences a certain number of times.  This is  known as
  1447.      "looping".
  1448.  
  1449.      If  you  are  interested  in  advanced  programming  features  of
  1450.      XACT-11C, we suggest you  obtain  a  copy  of the "HP-11C Owner's
  1451.      Handbook and Problem Solving Guide"
  1452.  
  1453.  
  1454.  
  1455.      6.1  Entering a Program into XACT-11C
  1456.  
  1457.      To begin entering a new  program  into  XACT-11C,  the calculator
  1458.      must be placed in  Program  mode  by  pressing the [P/R] function
  1459.      key.   When in program mode,  subsequent  keystrokes  are  simply
  1460.      stored  in  the  calculator's  internal  memory.  The  [P/R]  key
  1461.      toggles between program and run modes.
  1462.  
  1463.      Keystroke                Display        Comment
  1464.      ================================================================
  1465.      [P/R]                    000-           Program mode
  1466.      [P/R]                    (as before)    Run mode.
  1467.  
  1468.  
  1469.  
  1470.                                    - 26 -
  1471.      When first entering program mode,  the  display  shows  the value
  1472.      000.  This  represents  the current program line  number  of  the
  1473.      program    you  are entering.  Line 000- is special  in  that  it
  1474.      always represents  the beginning  of program memory.  Let's enter
  1475.      a very simple program:
  1476.  
  1477.      Keystroke             Display        Comment
  1478.      ================================================================
  1479.      [P/R]                 000-           Program mode
  1480.      [Prgm]                000-           Clear program memory
  1481.      [Lbl] [ A ]           001- 42 21 11  Label begins program
  1482.      1                     002-        1
  1483.      0                     003-        0
  1484.      [ENTER]               004-       36
  1485.      4                     005-        4
  1486.      [ + ]                 006-       10
  1487.      [Rtn]                 007-    43 32  Return from program
  1488.      [P/R]                                Run mode
  1489.  
  1490.      The  program simply adds the numbers 10+4  and  finishes.    When
  1491.      XACT-11C  is in program mode, the numbers to  the  right  of  the
  1492.      program line are a code which represents which  key  was pressed.
  1493.      The first digit of the number indicates the row  and  the  second
  1494.      indicates the column  of  where  the  key  is  positioned  on the
  1495.      XACT-11C screen.    If  you  think  of  all the keystrokes on the
  1496.      calculator face as being in a  table  with 4 rows and 10 columns,
  1497.      each key can be identified as being in a certain row  and column.
  1498.      For  example the [ENTER] key is located in Row 3, Column 6.  Thus
  1499.      in  instruction  line  03-    the display contains the value  36.
  1500.      Likewise the [ + ] key is in  row  1,  column  10, so the display
  1501.      shows 10.]
  1502.  
  1503.      To run the program:
  1504.  
  1505.      Keystroke                Display        Comment
  1506.      ================================================================
  1507.      [ A ]                    14.0000        Program result.
  1508.  
  1509.      Be sure to use the [ A ] function key mapped to the number '1' on
  1510.      the PC keyboard, not the letter 'A' on the PC keyboard.
  1511.  
  1512.  
  1513.  
  1514.      6.2  Labels In Programs
  1515.  
  1516.      There are 15 labels  available  in programming, 0-9 and A-E.  The
  1517.      previous example used the  label  [ A ] to identify the beginning
  1518.      of  the  program.   An alphabetic label is always used to begin a
  1519.      program.    Both  alphabetic  and  numeric labels can be used  as
  1520.      labels  within a program.  Labels are also  used  as  targets  of
  1521.      [Gto] (go to) and [Gsb]  (go to subroutine) instructions.  Labels
  1522.      can also be used to separate programs in XACT-11C's memory;  as a
  1523.      way  of keeping multiple programs in memory  at  the  same  time,
  1524.  
  1525.  
  1526.  
  1527.                                    - 27 -
  1528.      although this is generally  not  necessary  since programs may be
  1529.      saved as disk files.
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.      6.3  Using Subroutines
  1537.  
  1538.      A program can call a subroutine from within the program  when the
  1539.      [Gsb] instruction is used within  the program.  For instance, the
  1540.      instruction  [Gsb]  5  will  transfer  control  to   the  program
  1541.      instruction  immediately    following  the  instruction  [Lbl]  5
  1542.      contained elsewhere within the program.  Control will transfer to
  1543.      the  label  that  identifies  the  subroutine.    Subroutines can
  1544.      "nest",  that  is  one subroutine may call another which may call
  1545.      another, and so on.    The maximum level of subroutine nesting is
  1546.      4.
  1547.  
  1548.  
  1549.  
  1550.      6.4  Returning from a Program or Subroutine
  1551.  
  1552.      The last instruction in a program  must  always be a [Rtn].  This
  1553.      tells the program to reset it's program line number  to  000  (go
  1554.      back to the beginning) and stop executing.  The [Rtn] instruction
  1555.      is  also the last instruction in a subroutine.    In  this  case,
  1556.      after  the  execution  of  the  [Rtn]  instruction,   control  is
  1557.      transferred  back  to the instruction  following  the  subroutine
  1558.      call.
  1559.  
  1560.  
  1561.  
  1562.      6.5  Entering Data and the Run/Stop Key
  1563.  
  1564.      There  are  generally  2 ways to get data into a  program.    The
  1565.      easiest  is  to  use  the  [Sto]  instruction  to store  data  in
  1566.      registers prior to running  the  program.    Then the program can
  1567.      contain [Rcl] instructions  to  fetch the data from the register.
  1568.      The second method is required when there is more data to be input
  1569.      than available storage registers.    It  involves using the [R/S]
  1570.      (run/stop) function key.  When  this  key  is  encountered during
  1571.      program execution, the program  stops.    At  this point, you can
  1572.      enter  new  data  and then press the [R/S] key.  The program will
  1573.      begin running again.
  1574.  
  1575.      Let's write a program to solve the equation z= 1/(x+y)  using the
  1576.      [R/S] key to allow us to enter both the x and y variables.
  1577.  
  1578.      Keystroke           Display             Comment
  1579.      ================================================================
  1580.      [P/R]
  1581.      [Prgm]                                  Clear program memory
  1582.  
  1583.  
  1584.                                    - 28 -
  1585.      [Lbl] [ A ]         001-  42 21 11      Beginning of program
  1586.      [ENTER]             002-        36      x value
  1587.      [R/S]               003-        31      Stop to accept y value
  1588.      [ + ]               004-        10      Add x + y
  1589.      [1/x]               005-        15      Invert
  1590.      [Rtn]               006-     43 32      End of program
  1591.      [P/R]                                   Return to run mode.
  1592.  
  1593.      Now, to execute the program where x= 3 and y= 4:
  1594.  
  1595.      Keystroke                Display        Comment
  1596.      ================================================================
  1597.      3 [ A ]                  3.0000         Waiting for y input.
  1598.      4 [R/S]                  0.1429         Result
  1599.  
  1600.  
  1601.  
  1602.      6.6  The [Goto] Instruction
  1603.  
  1604.      The  [Gto]  instruction  can be used to unconditionally jump to a
  1605.      location  in the program  identified  with  a  [Lbl] instruction.
  1606.      For example, let's write a program that will keep  track  of  the
  1607.      sum of the squares of a group of numbers we wish  to enter.
  1608.  
  1609.      Keystroke            Display            Comment
  1610.      ================================================================
  1611.      [P/R]
  1612.      [Prgm]                                  Clear program memory
  1613.      [Lbl] [ A ]          001-   42 21 11    Beginning of program
  1614.      0                    002-          0
  1615.      [ENTER]              003-         36    Clear x register
  1616.      [Lbl] 2              004-    42 21 2    Label used for looping
  1617.      [R/S]                005-         31    Stop to accept input
  1618.      [x^2]                006-      43 11    Square the input value
  1619.      [ + ]                007-         10    Add to sum of squares
  1620.      [Gto] 2              008-       22 2    Branch to label
  1621.      [P/R]
  1622.  
  1623.      To calculate the sum of the squares of 3, 7, 11, and 15:
  1624.  
  1625.      Keystroke                Display        Comment
  1626.      ================================================================
  1627.      [ A ]                    0.0000         Waiting for 1st value
  1628.      3 [R/S]                  9.0000
  1629.      7 [R/S]                 58.0000
  1630.      11 [R/S]               179.0000
  1631.      15 [R/S]               404.0000
  1632.  
  1633.  
  1634.  
  1635.      6.7  Branching Using the Index Register
  1636.  
  1637.      In the previous example, we used a [Gto] instruction to branch to
  1638.      a label, in this case, label  2.  As previously  mentioned, there
  1639.  
  1640.  
  1641.                                    - 29 -
  1642.      are  15  available labels, 0-9 and  A-E.  You can  also  use  the
  1643.      index register [I] to indirectly branch to a label, or indirectly
  1644.      call  a  subroutine.   If the  [I]  register  contains  a  number
  1645.      representing a label, the  instructions  [Gto]  [I] and [Gsb] [I]
  1646.      will  indirectly  branch   to   a  label  or  indirectly  call  a
  1647.      subroutine.
  1648.  
  1649.  
  1650.  
  1651.      6.8  Program Loops Using the Index Register
  1652.  
  1653.      XACT-11C   contains  2  instructions  that  first  increment   or
  1654.      decrement a special value contained  in  the  index  register and
  1655.      either execute or  skip the next program line depending  upon the
  1656.      condition met.   These instructions are [Isg] (increment and skip
  1657.      if greater), and [Dse] (decrement and skip less  than  or equal).
  1658.      They  can  be  used to control loops where the number of times to
  1659.      execute the loop is contained in the index register.
  1660.  
  1661.      Looping with the index register requires placing a special "coded
  1662.      value" in the index register.  This value is of the form:
  1663.  
  1664.            aaaaa.bbbcc
  1665.  
  1666.      In  the encoding, aaaaa represents a starting  value  of  a  loop
  1667.      counter  and will default to 0  if  it  is  not  included.   This
  1668.      value is incremented    or  decremented  each  time  the  flow of
  1669.      execution of the program encounters an [Isg] or [Dse] instruction
  1670.      respectively.   The value contained in  aaaaa  is  then  compared
  1671.      against the value in bbb.  In the case of the  [Isg] instruction,
  1672.      if the value aaaaa is greater than bbb, the  instruction  in  the
  1673.      program code which follows the [Isg] instruction will be skipped,
  1674.      and program  execution  will    begin  immediately  following the
  1675.      skipped  instruction.     Likewise  in  the  case  of  the  [Dse]
  1676.      instruction, if the value aaaa is less than or equal to the value
  1677.      bbb, the same skipping over event will occur.
  1678.  
  1679.      In the encoding, the value cc represents the  count  to increment
  1680.      or decrement by each time the loop is executed.
  1681.  
  1682.      For  example, if we wanted to execute  a  group  of  instructions
  1683.      within a loop 10 times where  the  loop counter begins at 10, and
  1684.      decrements by steps of 1 until  it  reaches 0, we would place the
  1685.      value  10.00001  in  the index register.    Notice  that  in  the
  1686.      encoding, aaaaa= 10, bbb= 000, and cc= 01.   A  program  fragment
  1687.      using this loop is shown below:
  1688.  
  1689.      10.00001
  1690.      [Sto] [ I ]
  1691.      [Lbl] [ A ]
  1692.         (Instructions within loop)
  1693.      [Dse]
  1694.      [Gto] [ A ]
  1695.         (Instructions after loop)
  1696.  
  1697.  
  1698.                                    - 30 -
  1699.      6.9  Program Loops and Branches Using the X and Y Registers
  1700.  
  1701.      XACT-11C can also  make  "conditional  tests"  based  upon values
  1702.      contained  in    the X and Y registers.  There  are  8  different
  1703.      possible conditions in all.   These  functions  each  execute the
  1704.      next instruction in the  program  if  the  condition is true, and
  1705.      skip over it  if  the  condition  is false.  The instructions are
  1706.      defined as:
  1707.  
  1708.         [x<=y]     true if x less than or equal to y
  1709.         [x<0]      true if x less than 0
  1710.         [x>y]      true if x greater than y
  1711.         [x>0]      true if x greater than 0
  1712.         [x<>y]     true if x not equal to y
  1713.         [x<>0]     true if x not equal to 0
  1714.         [x=y]      true if x equal to y
  1715.         [x=0]      true if x equal to 0
  1716.  
  1717.  
  1718.  
  1719.      6.10  Branching On Flags Set/Clear
  1720.  
  1721.      XACT-11C contains two flags  which  can be set (1) or cleared (0)
  1722.      and then may  be  later  tested  and a conditional jump may occur
  1723.      depending on the state of the  flags.    The flags are Flag 0 and
  1724.      Flag  1.  The flags are set or cleared with the [SF] or the  [CF]
  1725.      function  keys respectively.  To set flag  1,  for  example,  you
  1726.      would press [SF] 1. You may  test  the  status of a flag with the
  1727.      [F?] function key within a program.  Again, follow this  key with
  1728.      either 0 or 1 depending on  which  flag  you wish to test. If the
  1729.      flag was set, the instruction in memory immediately following the
  1730.      [F?] will be executed.  If  not,  the program will skip over this
  1731.      instruction line number and  proceed  with  execution at the next
  1732.      line number.
  1733.  
  1734.      The example below illustrates a program fragment  utilizing flags
  1735.      testing:
  1736.  
  1737.  
  1738.            (Program instructions)
  1739.      [Lbl] 3
  1740.      [SF] 0
  1741.      [Gto] B
  1742.  
  1743.            (Program instructions)
  1744.  
  1745.      [Lbl] 4
  1746.      [CF] 0
  1747.      [Gto] B
  1748.  
  1749.            (Program instructions)
  1750.  
  1751.      [Lbl] B
  1752.      [F?] 0      (test to see if flag 0 is set)
  1753.  
  1754.  
  1755.                                    - 31 -
  1756.      [Gto] C     (transfer control to label C if flag 0 set)
  1757.      [Gto] D     (transfer control to label D if flag 0 clear)
  1758.  
  1759.      If  the program executes at label 3, flag 0 is set and control is
  1760.      transferred to label B.  At this point,  since  flag  0  was set,
  1761.      control  will transfer to label C.   Similarly,  if  the  program
  1762.      executes at label 4, flag 0 is cleared, and thus, when control is
  1763.      transferred to label B, the flag test will fail.  This will cause
  1764.      the [Gto] D  instruction to be executed.
  1765.  
  1766.  
  1767.  
  1768.      6.11  The Single-Step Instruction
  1769.  
  1770.      The [SST] (single-step) instruction can be used in either program
  1771.      mode or run mode.    In program mode, pressing [SST] will display
  1772.      the next program  line  number  in  a  program.  In run mode, the
  1773.      [SST] function can be used to execute a  program  one  step  at a
  1774.      time.  This is useful for program debugging.   The  [BST]  (back-
  1775.      step) instruction works like  the  [SST]  instruction  in program
  1776.      mode except that it displays  the previous program line number in
  1777.      a program.  The  [BST]  instruction does not operate in run mode,
  1778.      that is, it won't back-step  execution of a program, only display
  1779.      the previous program line number.
  1780.  
  1781.  
  1782.  
  1783.      6.12  Moving to a Program Line Number
  1784.  
  1785.      You can move to a specific line number in either program  mode or
  1786.      run  mode.    Press [Gto] [.]  nnn  where nnn is a 3 digit number
  1787.      between  0  and 203.  In run  mode,  pressing  [R/S]  will  begin
  1788.      execution at that line number.
  1789.  
  1790.  
  1791.  
  1792.      6.13  Inserting and Deleting Program Lines
  1793.  
  1794.      XACT-11C can edit an  existing  program  by inserting or deleting
  1795.      lines  within the program.   To  do  this, you must be in program
  1796.      mode  and  move  to the line number where you wish  to  make  the
  1797.      insertion/deletion using the [Gto] [.] nnn instruction  where nnn
  1798.      is the  line  number  (described  ]  in  section 6.12 above).  To
  1799.      insert a line, simply enter the instruction for the line you wish
  1800.      to insert.  The insertion  will happen immediately  following the
  1801.      line and all other line numbers will be pushed ahead in memory.
  1802.  
  1803.      To delete a line, move to the line you wish  to  delete and press
  1804.      the [<-] function key.
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.                                    - 32 -
  1813.      7.  STATISTICAL CALCULATIONS
  1814.  
  1815.  
  1816.      XACT-11C  can  perform  common statistical calculations including
  1817.      mean and standard deviation using it's built-in  capabilities. In
  1818.      addition, programs can be written to perform  complex statistical
  1819.      analysis.
  1820.  
  1821.  
  1822.      7.1  Entering and Removing Numbers.
  1823.  
  1824.  
  1825.      The [S+] (shown as  a  Greek "sigma" character followed by '+' on
  1826.      XACT-11C) function key  is  used  to  enter a new number into the
  1827.      statistical  registers.    XACT-11C    can  be  used  to  perform
  1828.      statistical operations using both  one  and  two variables.  When
  1829.      using  one  variable,  that variable is  referred  to  as  the  X
  1830.      variable.  With two variable  analysis,  the  second  variable is
  1831.      referred to as the Y variable.
  1832.  
  1833.      When entering  single variable numbers, enter the number and then
  1834.      press the [S+] function  key.    Continue  this process until all
  1835.      numbers have been entered.
  1836.  
  1837.      With two variables,  first  key  in  the Y variable and press the
  1838.      [ENTER] key, then enter the X variable and press the [S+] key.
  1839.  
  1840.      When the [S+] function key is used, memory registers 1  through 6
  1841.      will  hold  intermediate  values.  You can use the [Rcl] function
  1842.      key to view these values, or to use them within  a  program.  The
  1843.      values contained in registers 1 through 6 are summarized below:
  1844.  
  1845.         R0   contains the value N, the number of data values
  1846.              (or data pairs) entered thus far.
  1847.         R1   contains the sum of all the X variable values.
  1848.         R2   contains the sum of the squares of all the X variable  values.
  1849.         R3   contains the sum of all the Y variable values.
  1850.         R4   contains the sum of the squares of all the Y variable  values.
  1851.         R5   contains the sum of the products of the X variable  values
  1852.              and the Y variable values.
  1853.  
  1854.      To  remove an incorrectly entered value, you  can  use  the  [S-]
  1855.      function key.  Simply re-enter the incorrect value and then press
  1856.      the [S-] function key.
  1857.  
  1858.  
  1859.  
  1860.      7.2  Statistical Mean
  1861.  
  1862.      Example: Suppose you are a  teacher  with  5  students. Student's
  1863.      scores on their  last test were 80, 63, 77, 94, and 79.  Find the
  1864.      mean  of the test results.
  1865.  
  1866.  
  1867.  
  1868.  
  1869.                                    - 33 -
  1870.      Keystroke                Display        Comment
  1871.      ================================================================
  1872.      [S]                                     Clear statistics
  1873.      80 [S+]                  1.0000         1st score
  1874.      63 [S+]                  2.0000         2nd score
  1875.      77 [S+]                  3.0000         3rd score
  1876.      94 [S+]                  4.0000         4th score
  1877.      79 [S+]                  5.0000         5th score
  1878.      [xbar]                  78.6000         Mean
  1879.  
  1880.      The mean of the test scores is 78.6.
  1881.  
  1882.  
  1883.  
  1884.      7.3  Standard Deviation
  1885.  
  1886.      XACT-11C can be used to  calculate the standard deviation of both
  1887.      x and y variables using the [S] function key.
  1888.  
  1889.      Example:   Assume  a  set  of  students  test scores for math and
  1890.      English tests are as follows:
  1891.  
  1892.      Student       Math       English
  1893.      =================================
  1894.         1          59         64
  1895.         2          66         69
  1896.         3          88         82
  1897.         4          70         51
  1898.  
  1899.      Calculate the standard deviation for the students results.
  1900.  
  1901.      Keystroke                Display        Comment
  1902.      ================================================================
  1903.      [S]                                     Clear registers
  1904.      59 [ENTER] 64 [S+]       1.0000         1st student
  1905.      66 [ENTER] 69 [S+]       2.0000         2nd student
  1906.      88 [ENTER] 82 [S+]       3.0000         3rd student
  1907.      70 [ENTER] 51 [S+]       4.0000         4th student
  1908.      [S]                      12.8193        Math standard deviation
  1909.      [x<>y]                   12.3659        English std. deviation
  1910.  
  1911.      The standard deviation for  the  student's  math scores was 12.82
  1912.      and for the English scores was 12.37.
  1913.  
  1914.  
  1915.  
  1916.      7.4  Linear Estimate
  1917.  
  1918.      Using values entered  for  x  and  y variables, you can compute a
  1919.      "best  guess"  for  either variable, given a sample value for the
  1920.      other one.
  1921.  
  1922.      Example: Using the above  data  for  student test scores, compute
  1923.      an estimate for a student's  English score given that the student
  1924.  
  1925.  
  1926.                                    - 34 -
  1927.      has  a math score of 80.  Compute the correlation coefficient for
  1928.      this  value.
  1929.  
  1930.      Keystroke                Display        Comment
  1931.      ================================================================
  1932.      80 [y,r]                 78.8692        Math score estimate
  1933.      [x<>y]                    0.6235        correlation coefficient
  1934.  
  1935.  
  1936.  
  1937.      7.5  Linear Regression
  1938.  
  1939.      Linear regression is a method used for determining the "best fit"
  1940.      straight  line equation for a set  of  paired  statistical  data.
  1941.      XACT-11C can determine  the  factors  for  the equation Y= MX + B
  1942.      where M is  the   slope of the line and B is the Y intercept. The
  1943.      [L.R.] function key  returns  the  slope  M in the Y register and
  1944.      the intercept B in the X register.
  1945.  
  1946.      Keystroke                Display        Comment
  1947.      ================================================================
  1948.      [L.R.]                   30.7556        Y intercept
  1949.      [R|]                      0.6014        Slope
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.                                    - 35 -
  1984.      8.  APPENDIX
  1985.  
  1986.  
  1987.      8.1  Error Conditions
  1988.  
  1989.      When an error  is  encountered  during  operation,  XACT-11C will
  1990.      display the word "Error" in the calculator's display, followed by
  1991.      a 1 digit  error code. These error codes are defined below:
  1992.  
  1993.      Error 0  -  Invalid math operation.  This  error  is  encountered
  1994.      when an operation attempted  division  by 0, the square root of a
  1995.      negative number, or other invalid operation.
  1996.  
  1997.      Error  1    -    Out-of-Bounds Storage register operation.   This
  1998.      happens if a storage  register  operation  overflows the range of
  1999.      the calculator.
  2000.  
  2001.      Error 2  -  Invalid Statistical operation.    This  happens  if a
  2002.      statistical operation cannot be performed or is out of range, for
  2003.      instance taking the mean of 0 numbers.
  2004.  
  2005.      Error 3  -  Invalid Register.  An attempt was  made  to  access a
  2006.      label or line number that is out of range.
  2007.  
  2008.      Error 4  -  Invalid label or line number.  An attempt was made to
  2009.      access a label or line number that is out of range.
  2010.  
  2011.      Error 5  -  Invalid subroutine nesting.  A subroutine  was nested
  2012.      more than 4 levels deep.
  2013.  
  2014.      Error 6  -  Invalid flag accessed. An invalid flag  was accessed,
  2015.      valid flags are 0 and 1.
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.                                    - 36 -