home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / MATH / XACT51.ZIP / X11.DOC < prev    next >
Encoding:
Text File  |  1991-02-01  |  76.4 KB  |  2,040 lines

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