home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / source / p3_19bs.seq < prev    next >
Text File  |  1990-04-07  |  1KB  |  53 lines

  1. \ Balraj Sidhu   Set: 14D4
  2. \ Comp 462 - Forth
  3. \ Date: April 7, 1990
  4. \ Problem 3.19
  5.  
  6.  
  7. \ Balraj Sidhu   Set: 14D4
  8. \ Comp 462 - Forth
  9. \ Date: April 7, 1990
  10. \ Problem 3.18
  11.  
  12.  
  13. COMMENT:
  14.  
  15. D-Charts.
  16.  
  17. D-Chart for PCKEY
  18.  
  19.             PCKEY ( -- n flag)
  20.             -----------------+
  21.                              |
  22.                          get a key
  23.                              |
  24.                     mask off high 8 bits
  25.                              |
  26.                       are low 8 bits <> 0
  27.                              |
  28.                             / \
  29.                    false  /     \  true
  30.                         /         \
  31.                       /             \
  32.                     /                 \
  33.                   |                     |
  34.             function key              ASCII
  35.       flip hi 8 bits with lo 8 bit      |
  36.                   |                     |
  37.                   |                     |
  38.                     \                 /
  39.                       \             /
  40.                         \         /
  41.                           \     /
  42.                             \ /
  43.                              |
  44.                              |
  45.  
  46.  
  47. COMMENT;
  48.  
  49.  
  50.  
  51.  
  52.  
  53.