home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / flowchrt / atk18ibm.zip / EXERCISE.TXT < prev    next >
Text File  |  1994-02-08  |  28KB  |  861 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                           -----------------------------------
  14.                           / A N A L Y S T   T O O L   K I T /
  15.                           /    E X E R C I S E    B O O K   /
  16.                           -----------------------------------
  17.                                           ||
  18.                                           ||
  19.                                           \/
  20.                ---------------------------------------------------------
  21.                /       Copyright (C) Chinook Software Group 1994       /
  22.                /                 all rights reserved                   /
  23.                ---------------------------------------------------------
  24.                                           ||
  25.                                           ||
  26.                                           ||
  27.                                           \/
  28.                               ==========================
  29.                               / Chinook Software Group /
  30.                               / P.O. Box 24536         /
  31.                               / Denver, CO.      80224 /
  32.                               ==========================
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.                ========================================================
  46.                / This tool suite  enables a user  to perform top-down /
  47.                / system  specification  using the Structured Analysis /
  48.                / Methodology  ( Data Flow Diagrams ).    Diagrams are /
  49.                / entered  and manipulated  graphically, but stored in /
  50.                / textual form for easy access by other tools. Support /
  51.                / is  provided  for  data  dictionary  generation  and /
  52.                / analysis, as well as for analysis of the DFDs.       /
  53.                ========================================================
  54.  
  55.  
  56.                               *** NOTICE: PLEASE READ ***
  57.  
  58.  
  59.             This document is a companion to the SHAREWARE CHINOOK Software
  60.  
  61.             ATK product's tutorial.
  62.  
  63.             An attempt has been made to cover most of the day-to-day usage
  64.             of the tool in this set of exercises, and to give it a step-
  65.             by-step, cookbook feeling.  We welcome feedback as to its
  66.             organization and usefulness, and hope to improve this workbook
  67.             in future releases.
  68.  
  69.             Exercises do build upon the skills in earlier exercises.  We
  70.             recommend that they be worked in order.  When you complete
  71.             them all, you should have learned enough about the tool to
  72.             draw your own DFDs.
  73.  
  74.             The exercises do not cover all aspects of ATK, or even all of
  75.             GED.  When many ways are available to perform a task, only one
  76.             is presented. Control flow usage is left out of these
  77.             exercises, as is user-customization of the CONFIG.GED file, as
  78.             is the use of ANAL, DDBUILD, DDEVAL, and other tools.
  79.             Information on these topics, and others, can be found in the
  80.             Tutorial and in the files in the DOC directory.
  81.  
  82.             This document and the attendant software is provided as-is and
  83.             without warranty as to correctness or suitability for any
  84.             specific application. The CHINOOK SOFTWARE GROUP disclaims any
  85.             responsibility for the use or misuse of this software by any
  86.             individual or entity, for any purpose whatever.
  87.  
  88.             If you find ATK instructive and useful, registering your copy
  89.             with us for $35 will go a long way toward allowing its authors
  90.             to continue its development. In return, you will be placed on
  91.             our mailing list to receive information about future releases
  92.             and other products.  In addition, you will be given special
  93.             consideration with regard to future releases of ATK, and will
  94.             be sent additional documentation including detailed file
  95.             formats, evaluation rules, and reference pages for all
  96.             functions.
  97.  
  98.             The asking price of $35 represents more than an order of
  99.             magnitude price break when compared with similar products
  100.             currently available.  Your support is both needed and
  101.             appreciated.
  102.  
  103.             Please send your contribution to:
  104.                                    The Chinook Software Group
  105.                                    P.O. Box 24536
  106.                                    Denver, CO.  80224
  107.  
  108.  
  109.                                      ATK Exercises
  110.                                    Table of Contents
  111.  
  112.             Exercise 1: Entering and exiting GED ....................1
  113.             Exercise 2: Getting and clearing GED messages ...........2
  114.             Exercise 3: Visiting child processes and minispecs ......4
  115.             Exercise 4: Modifying a DFD .............................6
  116.             Exercise 5: Printing a DFD ..............................9
  117.             Exercise 6: Starting from scratch -- a new DFD .........11
  118.  
  119.  
  120.  
  121.             Exercise 1: Entering and exiting GED
  122.  
  123.  
  124.  
  125.             The goal of this exercise is just to ensure you understand the
  126.             keystrokes necessary to enter and exit the graphics editor.
  127.  
  128.             Step 1: Starting GED
  129.  
  130.             From the DOS command line, with the current directory set to
  131.             the place where the ATK executables (.EXE files) are, type
  132.                  GED -psamples1
  133.             and press the Enter key
  134.  
  135.             You should see a context diagram with the number -1, one
  136.             process circle, and some other items on the screen.
  137.  
  138.             Step 2: Playing in GED
  139.  
  140.             You should be able to move your cursor by either moving your
  141.             mouse (if installed) or by using the arrow keys.  To make
  142.             small adjustments in the cursor position, use the h, j, k, and
  143.             l keys to move left, down, up, and right respectively.
  144.  
  145.             You should be able to press any of the create keys (Alt-E,
  146.             Alt-P, Alt-S, Alt-F, ") or the move key (F4) and see changes
  147.             in the diagram.  Rather than completing any of these actions,
  148.             you should press the cancel key (Esc) to leave the diagram
  149.             alone.
  150.  
  151.             Step 3: Exiting GED
  152.  
  153.             Press Exit (Alt-X) to exit the diagram.  If you did not make
  154.             any permanent changes, you will be prompted with Sure you want
  155.             to exit?  A return or a "y" response will return you to the
  156.             DOS prompt.  You will find you are back in the same directory
  157.             you started from.
  158.  
  159.             Congratulations!  You have entered and exited the graphics
  160.             editor!
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.             GED Exercises                 1                 Version 1.08
  180.  
  181.  
  182.  
  183.  
  184.             Exercise 2: Getting and clearing GED messages
  185.  
  186.  
  187.             GED displays a number of messages to the user, always at the
  188.             bottom of the screen, in the last 2 lines of the drawing
  189.             window.  Since these two lines are also used for displaying
  190.             the number and title of the diagram, the messages must be
  191.             cleared from time to time.
  192.  
  193.             Step 1: Start GED
  194.  
  195.             Do this the same way you did it in Exercise 1.
  196.  
  197.             Step 2: Get an error message
  198.  
  199.             Press the Parent key (shift-F9).
  200.  
  201.             You should see the messages Diagram has no parent and (Next
  202.             action will clear message) in the message area of the screen.
  203.  
  204.             Press the space bar to show that any action, even an action
  205.             that is ignored, will clear the message and restore the
  206.             diagram name and number to the bottom of the screen.
  207.  
  208.             Press the Move key (F4) with the cursor not located near any
  209.             object in the diagram.  You should see the messages No
  210.             moveable object at current location and (Next action will
  211.             clear message) in the message area of the screen.
  212.  
  213.             Press the Create Process key (Alt-P).  You should see the
  214.             messages Cannot create process on context diagram and (Next
  215.             action will clear message) in the message area.
  216.  
  217.             From now on, we will not mention the (Next action will clear
  218.             message) notification, since it is common to every message.
  219.  
  220.             Step 3: Get an informational message
  221.  
  222.             Press the Move key (F4) with the cursor located over an object
  223.             in the diagram.
  224.  
  225.             Note the change in the cursor style as the object and all its
  226.             connecting flows have disappeared.
  227.  
  228.             Press the Cancel key (Esc) to cancel the move process.  The
  229.             informational message Move cancelled should appear in the
  230.             message area, and the cursor will change back to an arrow.
  231.  
  232.             Press the Create Flow key (Alt-F) to begin creating a flow.
  233.             The informational message Flow from XXX (NEW) will appear in
  234.             the message area, where XXX is the type of object under the
  235.             cursor (or Boundary Point if no object is under the cursor),
  236.             and the cursor will change into a "ground" symbol.
  237.  
  238.             Move the cursor over a process or external and press the Flow
  239.             key (Alt-F) again.  The informational message now reads Name
  240.  
  241.             GED Exercises                 2                 Version 1.08
  242.  
  243.  
  244.             Flow from XXX to YYY (NEW).  Press cancel (Esc) to cancel the
  245.             creation of the new flow.
  246.  
  247.             Step 4: Exit GED
  248.  
  249.             If you are not going on to exercise 3 at this time, you may
  250.             exit GED (Alt-X).
  251.  
  252.             Congratulations!  You have now seen how many of GED's messages
  253.             are displayed!
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.             GED Exercises                 3                 Version 1.08
  304.  
  305.  
  306.             Exercise 3: Visiting child processes and minispecs
  307.  
  308.  
  309.  
  310.             Step 1: Start GED
  311.  
  312.             Do this just like step 1 of exercise 1.
  313.  
  314.             Step 2: Visit the child of process 0
  315.  
  316.             Move the cursor until it is inside the process 0 circle.
  317.             Press the Visit Child key (F9 or mouse left button).
  318.  
  319.             You should now see diagram 0, whose title is the same as the
  320.             name of process 0 in the parent diagram.  The processes in
  321.             this diagram are numbered 1, 2, etc.
  322.  
  323.             If you got the message Save diagram -1? then you have changed
  324.             the context diagram in some way, and are being asked whether
  325.             those changes should be saved or discarded.  To be safe,
  326.             answer "no" to discard the changes.
  327.  
  328.             Step 3: Return to the parent and back again
  329.  
  330.             Without moving the cursor, press the Visit Parent key (shift-
  331.             F9 or mouse right button) to return to the context diagram.
  332.  
  333.             Press the Visit Child key (F9 or mouse left button) to return
  334.             to the child diagram (0).
  335.  
  336.             Step 4: Continue down the tree
  337.  
  338.             Move the cursor over process 2 and press Visit Child (F9 or
  339.             mouse left button). You should now have diagram 0.2 on the
  340.             screen.
  341.  
  342.             Move the cursor over process 3 and press Visit Child (F9 or
  343.             mouse left button).  You should now have diagram 0.2.3 on the
  344.             screen.
  345.  
  346.             Note that on some diagrams, you may see the text terminate
  347.             with a diamond or a block shape.  This indicates that the text
  348.             has been truncated to fit in the object.  Later, we will see
  349.             how resizing the object may allow all the text to be visible.
  350.  
  351.             Step 5: See a minispec
  352.  
  353.             Move the cursor over process 1 and press Visit Minispec (Alt-
  354.             F9).
  355.  
  356.             This will bring up a text editor loaded with the minispec
  357.             description of process 1 of diagram 0.2.3.  The default text
  358.             editor is EDLIN, which is a primitive line editor delivered
  359.             with every version of DOS since 2.0.  The user can easily
  360.             change this in the CONFIG.GED configuration file to a screen
  361.             editor such as EDIT.
  362.  
  363.  
  364.  
  365.             GED Exercises                 4                 Version 1.08
  366.  
  367.  
  368.             For EDLIN, you can use the l command (lowercase ell) to list
  369.             the file, and the q command to quit editing and return to GED,
  370.             right where you left off!
  371.  
  372.             Also, note that if you press Visit Child on a process that has
  373.             a minispec, GED will assume you wish to decompose the process
  374.             into a child DFD.  You will be prompted Delete Minispec?.  If
  375.             you do not wish to delete the minispec to create a child
  376.             diagram, press "n" or cancel (Esc) at this point to cancel
  377.             creation of the child diagram and deletion of the minispec.
  378.  
  379.             Step 6: Exit GED
  380.  
  381.             If you are not going on to exercise 4 at this time, you may
  382.             exit GED (Alt-X).
  383.  
  384.             Congratulations!  You are now a DFD navigator!
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.             GED Exercises                 5                 Version 1.08
  428.  
  429.  
  430.             Exercise 4: Modifying a DFD
  431.  
  432.  
  433.  
  434.             Step 1: Start GED
  435.  
  436.             Do this the same way you did it in Exercise 1.
  437.  
  438.             Step 2: Get to diagram 0.2.3
  439.  
  440.             Use the techniques you learned in Exercise 3 to accomplish
  441.             this.
  442.  
  443.             Step 3: Enlarging and shrinking objects
  444.  
  445.             Sometimes objects are not the proper size for display--we wish
  446.             to declutter the diagram, or wish a longer name to be visible.
  447.  
  448.             Enlarging and shrinking objects in ATK is done with the
  449.             greater than (>) and less than (<) keys.
  450.  
  451.             Enlarge the "Perform Optimization" process by placing the
  452.             cursor over this process and pressing the less than (<) key a
  453.             few times.  Notice the process get slightly larger and the
  454.             words rearrange themselves to fit the new space.  The process
  455.             started smaller (like the left end of the <) and became larger
  456.             (like the right end of the <).
  457.  
  458.             Similarly, shrink the process with the long name at the top of
  459.             the diagram.  Notice how the words are rearranged, and how a
  460.             diamond or block appears at the end of the word when it is
  461.             truncated.
  462.  
  463.             Step 4: Renaming an object
  464.  
  465.             That long name on the process at the top of the diagram is
  466.             unwieldy! Let's fix it!
  467.  
  468.             Place the cursor over the process with the long name.  Press
  469.             the Name key (F2).  Notice that the prompt at the bottom asks
  470.             for a new name.  You may either type in a new name, or copy
  471.             parts of the name that is already there.  The left arrow key
  472.             and the F1 key will copy one character of the old name (just
  473.             like on the DOS command line).  To copy a word, I can press F2
  474.             and then space (copy up until the next space), just like in
  475.             DOS.  I can even press F3 and copy the whole old name into the
  476.             new name!
  477.  
  478.             For this exercise, let's copy the first 4 words (F2 space F2
  479.             space F2 space F2 space).  You should see Map parse tree to.
  480.             Now delete the next word (F4 space).  Finally, copy the
  481.             remaining word (F3).  You should see Map parse tree to code.
  482.             Press return to accept the new name.
  483.  
  484.             Notice that the process has resized itself to accomodate the
  485.             new name.  You may wish to adjust it to your liking by
  486.             enlarging or shrinking the process.
  487.  
  488.  
  489.             GED Exercises                 6                 Version 1.08
  490.  
  491.  
  492.             Step 5: Moving things around.
  493.  
  494.             Flow names are moved just like any other object.  Put the
  495.             cursor over a flow name, and press the Move key (F4).  Move
  496.             the T cursor to where you wish the name to be, and press Move
  497.             again (F4).
  498.  
  499.             Move the items connected to the flow around to see how the
  500.             flow name moves relative to the other objects.
  501.  
  502.             Now, let's move a Flow!  This will create a new route point,
  503.             effectively bending the line where you want it to go.  Place
  504.             the cursor on a flow, but not too close to a flow name or
  505.             other object.  Press the Move key (F4).  Notice that the flow
  506.             is undrawn, and a "ground" symbol indicates where to put the
  507.             route point.  Press the Move key (F4) again when you have the
  508.             cursor where you wish the route point to be.
  509.  
  510.             Move some items around again, and notice that route points are
  511.             stationary; they do not move when other objects move.
  512.  
  513.             Step 6: Deleting things
  514.  
  515.             We will leave creating things for exercise 6; but here we will
  516.             look a bit at deleting things.
  517.  
  518.             Position your cursor over your route point. If your flow name
  519.             is very nearby, you may wish to move it away first.  Press the
  520.             Delete key (F10).  The message Delete flow splitter(1)?
  521.             appears in the message window.  If you press "Y", the flow
  522.             splitter will be deleted, and the line will straighten.
  523.  
  524.             Now try something more substantial--process 3.  When you
  525.             position your cursor over process 3 and press the Delete key
  526.             (F10), the message Delete process (3)? appears in the message
  527.             window.  If process 3 had any children or a minispec under it,
  528.             the prompt would be appropriately modified (try this on
  529.             process 1!).  When you press "Y", the process and all the
  530.             flows in and out of it are deleted.
  531.  
  532.             Step 7: Recovering from an error
  533.  
  534.             Oops! We really didn't want to delete that process!  What can
  535.             we do?
  536.  
  537.             Fortunately, you can recover to the point you last saved the
  538.             DFD, either when exiting from another session or by pressing
  539.             the Save key (F6).
  540.  
  541.             In this case, press the Abort key (shift-F6), and respond "y"
  542.             to the prompt Sure you want to abort?, and the diagram will
  543.             look just like it did at the beginning of the exercise!
  544.  
  545.             The moral is, save when you have a pretty stable base to work
  546.             from!
  547.  
  548.  
  549.  
  550.  
  551.             GED Exercises                 7                 Version 1.08
  552.  
  553.  
  554.             Step 8: Exit GED
  555.  
  556.             If you are not going on to exercise 5 at this time, you may
  557.             exit GED (Alt-X).
  558.  
  559.             Congratulations!  You can rearrange DFDs to your liking!
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.             GED Exercises                 8                 Version 1.08
  614.  
  615.  
  616.             Exercise 5: Printing a DFD
  617.  
  618.  
  619.             This exercise goes through the basic DOS methods of printing a
  620.             DFD.  There are also Windows 3.1 tools available to import ATK
  621.             DFDs into Word for Windows, Powerpoint, and other programs;
  622.             using this method, the diagrams can be scaled and printed on
  623.             any printer that Windows supports.
  624.  
  625.             Step 1: Check your configuration
  626.  
  627.             You must be in DOS for this step, not in GED.  More detailed
  628.             instructions for configuration are in PRINTING.DOC in the DOC
  629.             directory under the ATK base directory.
  630.  
  631.             If you have an Epson printer or compatible, go to step 1a; if
  632.             you have an HP printer or compatible, go to step 1b; if you
  633.             have a Postscript printer, go to step 1c; otherwise, check the
  634.             notes in PRINTING.DOC and skip to step 2 when you are properly
  635.             configured.
  636.  
  637.             Step 1a: If you have an Epson printer, find out what printer
  638.             port it is on.  This is usually LPT1: (or PRN:).  The rest of
  639.             these instructions assume it is LPT1:; if it is not,
  640.             substitute the correct device each time you see LPT1:.
  641.  
  642.             These lines must be in your CONFIG.GED file:
  643.                  PRINTER TYPE=epson
  644.                  PRINTER MODE=-2
  645.                  PRINTER PORT=LPT1:
  646.             Ensure that no other PRINTER lines are farther down in the
  647.             file!
  648.             Go to Step 2.
  649.  
  650.             Step 1b: If you have an HP printer, find out what printer port
  651.             it is on.  This is usually LPT1: (or PRN:).  If your printer
  652.             is on a COM port (COM2, often), then type the line
  653.                  MODE LPT1:=COM2:
  654.             at the DOS prompt, and then use LPT1 as the Printer port.
  655.  
  656.             These lines must be in your CONFIG.GED file:
  657.                  PRINTER TYPE=hp
  658.                  PRINTER MODE=-2
  659.                  PRINTER PORT=LPT1:
  660.             Ensure that no other PRINTER lines are farther down in the
  661.             file!
  662.             Go to Step 2.
  663.  
  664.             Step 1c: If you have a Postscript printer, you will be
  665.             printing diagrams using GEDPS.  Determine the diagram you wish
  666.             to print, say 0.2.3, and issue the DOS command
  667.                  GEDPS -f tmp.ps 0.2.3
  668.             to place diagram 0.2.3 in Postscript format into the file
  669.             tmp.ps.
  670.  
  671.             You can print the file by using the DOS command
  672.                  COPY tmp.ps LPT1:
  673.             if your printer is on parallel port 1, or if you've redirected
  674.  
  675.             GED Exercises                 9                 Version 1.08
  676.  
  677.  
  678.             LPT1 to a serial port (say, COM2) with the DOS command
  679.                  MODE LPT1:=COM2:
  680.  
  681.             If your printer is on a serial port, and the previous step
  682.             does not work properly (nothing prints), use the DOS command
  683.                  PS tmp.ps
  684.             to print the file.  PS supports flow control to serial ports.
  685.             You are done, so go on to exercise 6!
  686.  
  687.             Step 2: Start GED
  688.  
  689.             Do this the same way you did it in Exercise 1.
  690.  
  691.             Step 3: Select the diagram to print
  692.  
  693.             Do this the same way you navigated in Exercise 3.
  694.  
  695.             Step 4: Invoke the print routine
  696.  
  697.             Use the Print key (control-P) to begin the printing process.
  698.             Notice that the screen is redrawn and the cursor is made
  699.             invisible.
  700.  
  701.             The cursor will return automatically when the printing process
  702.             is completed.
  703.  
  704.             Check your output for proper sizing and scaling; check
  705.             PRINTING.DOC to see what adjustments are available to make the
  706.             printout more to your liking.
  707.  
  708.             Step 5: Exit GED
  709.  
  710.             If you are not going on to exercise 6 at this time, you may
  711.             exit GED (Alt-X).
  712.  
  713.             Congratulations!  You can now make hardcopy of your work!
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.             GED Exercises                10                 Version 1.08
  738.  
  739.  
  740.             Exercise 6: Starting from scratch -- a new DFD
  741.  
  742.  
  743.  
  744.             Step 1: Start GED
  745.  
  746.             Do this the same way you did it in Exercise 1.
  747.  
  748.             Step 2: Locate to diagram 0.2.3
  749.  
  750.             Do this the same way you did it in Exercise 3.
  751.  
  752.             Step 3: Go to the child of process 2
  753.  
  754.             Press the Child key (F9) when the cursor is located over
  755.             process 2.
  756.  
  757.             Press the space bar to clear the message on the message line.
  758.  
  759.             Notice that the In and Out flows to the process show up on the
  760.             otherwise blank diagram as Description objects.  Description
  761.             objects can convey comments or information on your diagrams,
  762.             but are otherwise not checked or parsed or used in the data
  763.             dictionary.
  764.  
  765.             Step 4: Create some stuff
  766.  
  767.             Add 3 processes--one called Encode sequence, one called Map to
  768.             real registers, and one called Emit machine code.  A process
  769.             is added by moving the cursor to where the center of the
  770.             process should be, pressing the Create Process key (Alt-P) and
  771.             typing in the name of each process.  The process can be
  772.             enlarged if necessary by the methods described in Exercise 4.
  773.  
  774.             Add 2 stores--one called Code Fragments, and the other called
  775.             Op Codes.  Stores are added by moving the cursor to where the
  776.             center of the store should be, pressing the Create Store key
  777.             (Alt-S), and typing in the name of each store.  You may wish
  778.             to move them around later.
  779.  
  780.             Add a flow from near the left edge of the diagram to the
  781.             Encode sequence store, and give it the name Optimized parse
  782.             trees.  A flow is added by moving the cursor to the starting
  783.             object and pressing the Create Flow key (Alt-F) then moving to
  784.             the ending object and pressing the Create Flow key again, and
  785.             finally typing in the name of the flow.  The flow can be
  786.             adjusted in the manner described in Exercise 4.
  787.  
  788.             Add a flow from Encode sequence to Map to real registers.
  789.             Before pressing the final flow, add a route point by pressing
  790.             the Create Route key (Alt-R or mouse right button).  Add
  791.             several if you wish.  Note that the Cancel key (Esc) will
  792.             remove the most recently created route point.  Name the flow
  793.             sequenced-code.  Note that the name is located on the first
  794.             route point.
  795.  
  796.             Add a flow from Code Fragments to Encode sequence.  Leave this
  797.             flow unnamed (flows to or from stores are assumed to be
  798.  
  799.             GED Exercises                11                 Version 1.08
  800.  
  801.  
  802.             structured like the store).  This is done by pressing return
  803.             when prompted for a flow name.
  804.  
  805.             Add a flow from Emit machine code to Map to real registers.
  806.             Name it register-mapped code.  Oops!  It's going in the wrong
  807.             direction!  Let's get that fixed.  Place the cursor over the
  808.             flow, and press the Toggle key (shift-F5) until the flow has a
  809.             single arrow pointing to Emit machine code.
  810.  
  811.             Add a flow from Op Codes to Emit Machine code.  Leave it
  812.             unnamed.
  813.  
  814.             Add a flow from Emit Machine code to a point near the right
  815.             boundary.  Name this flow machine code.
  816.  
  817.             Step 5: Save your work
  818.  
  819.             Press the Save key (F6) to put your work on this diagram on
  820.             disk.
  821.  
  822.             Step 6: Exit GED
  823.  
  824.             Exit GED (Alt-X).
  825.  
  826.             Congratulations, graduate!  You can use all of GED's basic
  827.             functions!
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.