DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: d

⟦ea74ca626⟧

    Length: 5975 (0x1757)
    Names: »dc.1«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat1/dc.1« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e   ┆ u_ a_ l             User Comman┆
0x0040…0060 64 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 63 28 31 29 0a 0a 0a 0a   ┆ds                     dc(1)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 64 63 20 2d 20 64 65 73 6b 20 63 61 6c 63 75 6c 61 74 6f 72 0a 0a 53 08 53 08 53 08 53 59   ┆  dc - desk calculator  S S S SY┆
0x00a0…00c0 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58   ┆ Y Y YN N N NT T T TA A A AX X X┆
0x00c0…00e0 08 58 0a 20 20 20 20 20 64 08 64 08 64 08 64 63 08 63 08 63 08 63 20 5b 20 66 69 6c 65 20 5d 0a   ┆ X      d d d dc c c c [ file ] ┆
0x00e0…0100 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52   ┆ D D D DE E E ES S S SC C C CR R┆
0x0100…0120 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49   ┆ R RI I I IP P P PT T T TI I I I┆
0x0120…0140 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 64 5f 08 63 20 69 73 20 61 6e   ┆O O O ON N N N      _ d_ c is an┆
0x0140…0160 20 61 72 62 69 74 72 61 72 79 2d 70 72 65 63 69 73 69 6f 6e 20 61 72 69 74 68 6d 65 74 69 63 20   ┆ arbitrary-precision arithmetic ┆
0x0160…0180 70 61 63 6b 61 67 65 2e 20 20 4f 72 64 69 6e 61 72 69 6c 79 0a 20 20 20 20 20 69 74 20 6f 70 65   ┆package.  Ordinarily      it ope┆
0x0180…01a0 72 61 74 65 73 20 6f 6e 20 64 65 63 69 6d 61 6c 20 69 6e 74 65 67 65 72 73 2c 20 62 75 74 20 6f   ┆rates on decimal integers, but o┆
0x01a0…01c0 6e 65 20 6d 61 79 20 73 70 65 63 69 66 79 20 61 6e 0a 20 20 20 20 20 69 6e 70 75 74 20 62 61 73   ┆ne may specify an      input bas┆
0x01c0…01e0 65 2c 20 6f 75 74 70 75 74 20 62 61 73 65 2c 20 61 6e 64 20 61 20 6e 75 6d 62 65 72 20 6f 66 20   ┆e, output base, and a number of ┆
0x01e0…0200 66 72 61 63 74 69 6f 6e 61 6c 20 64 69 67 69 74 73 0a 20 20 20 20 20 74 6f 20 62 65 20 6d 61 69   ┆fractional digits      to be mai┆
0x0200…0220 6e 74 61 69 6e 65 64 2e 20 20 54 68 65 20 6f 76 65 72 61 6c 6c 20 73 74 72 75 63 74 75 72 65 20   ┆ntained.  The overall structure ┆
0x0220…0240 6f 66 20 5f 08 64 5f 08 63 20 69 73 20 61 20 73 74 61 63 6b 69 6e 67 0a 20 20 20 20 20 28 72 65   ┆of _ d_ c is a stacking      (re┆
0x0240…0260 76 65 72 73 65 20 50 6f 6c 69 73 68 29 20 63 61 6c 63 75 6c 61 74 6f 72 2e 20 20 49 66 20 61 6e   ┆verse Polish) calculator.  If an┆
0x0260…0280 20 61 72 67 75 6d 65 6e 74 20 69 73 20 67 69 76 65 6e 2c 20 69 6e 70 75 74 0a 20 20 20 20 20 69   ┆ argument is given, input      i┆
0x0280…02a0 73 20 74 61 6b 65 6e 20 66 72 6f 6d 20 74 68 61 74 20 66 69 6c 65 20 75 6e 74 69 6c 20 69 74 73   ┆s taken from that file until its┆
0x02a0…02c0 20 65 6e 64 2c 20 74 68 65 6e 20 66 72 6f 6d 20 74 68 65 20 73 74 61 6e 2d 0a 20 20 20 20 20 64   ┆ end, then from the stan-      d┆
0x02c0…02e0 61 72 64 20 69 6e 70 75 74 2e 20 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 73 74 72   ┆ard input.  The following constr┆
0x02e0…0300 75 63 74 69 6f 6e 73 20 61 72 65 20 72 65 63 6f 67 6e 69 7a 65 64 3a 0a 0a 20 20 20 20 20 5f 08   ┆uctions are recognized:       _ ┆
0x0300…0320 6e 5f 08 75 5f 08 6d 5f 08 62 5f 08 65 5f 08 72 0a 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20   ┆n_ u_ m_ b_ e_ r            The ┆
0x0320…0340 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6e 75 6d 62 65 72 20 69 73 20 70 75 73 68 65 64 20 6f 6e   ┆value of the number is pushed on┆
0x0340…0360 20 74 68 65 20 73 74 61 63 6b 2e 20 20 41 0a 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72   ┆ the stack.  A            number┆
0x0360…0380 20 69 73 20 61 6e 20 75 6e 62 72 6f 6b 65 6e 20 73 74 72 69 6e 67 20 6f 66 20 74 68 65 20 64 69   ┆ is an unbroken string of the di┆
0x0380…03a0 67 69 74 73 20 30 2d 39 2e 20 20 49 74 0a 20 20 20 20 20 20 20 20 20 20 20 6d 61 79 20 62 65 20   ┆gits 0-9.  It            may be ┆
0x03a0…03c0 70 72 65 63 65 64 65 64 20 62 79 20 61 6e 20 75 6e 64 65 72 73 63 6f 72 65 20 28 60 5f 27 29 20   ┆preceded by an underscore (`_') ┆
0x03c0…03e0 74 6f 20 69 6e 64 69 63 61 74 65 20 61 0a 20 20 20 20 20 20 20 20 20 20 20 6e 65 67 61 74 69 76   ┆to indicate a            negativ┆
0x03e0…0400 65 20 6e 75 6d 62 65 72 2e 20 20 4e 75 6d 62 65 72 73 20 6d 61 79 20 63 6f 6e 74 61 69 6e 20 64   ┆e number.  Numbers may contain d┆
0x0400…0420 65 63 69 6d 61 6c 20 70 6f 69 6e 74 73 2e 0a 0a 20 20 20 20 20 2b 20 20 2d 20 2f 20 20 2a 20 20   ┆ecimal points.       +  - /  *  ┆
0x0420…0440 25 20 20 5e 0a 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 74 6f 70 20 74 77 6f 20 76 61 6c 75   ┆%  ^            The top two valu┆
0x0440…0460 65 73 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 61 72 65 20 61 64 64 65 64 20 28 2b 29 2c 20 73   ┆es on the stack are added (+), s┆
0x0460…0480 75 62 2d 0a 20 20 20 20 20 20 20 20 20 20 20 74 72 61 63 74 65 64 20 28 2d 29 2c 20 6d 75 6c 74   ┆ub-            tracted (-), mult┆
0x0480…04a0 69 70 6c 69 65 64 20 28 2a 29 2c 20 64 69 76 69 64 65 64 20 28 2f 29 2c 20 72 65 6d 61 69 6e 64   ┆iplied (*), divided (/), remaind┆
0x04a0…04c0 65 72 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 28 25 29 2c 20 6f 72 20 65 78 70 6f 6e 65 6e 74   ┆ered            (%), or exponent┆
0x04c0…04e0 69 61 74 65 64 20 28 5e 29 2e 20 20 54 68 65 20 74 77 6f 20 65 6e 74 72 69 65 73 20 61 72 65 20   ┆iated (^).  The two entries are ┆
0x04e0…0500 70 6f 70 70 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 6f 66 66 20 74 68 65 20 73 74 61 63 6b 3b   ┆popped            off the stack;┆
0x0500…0520 20 74 68 65 20 72 65 73 75 6c 74 20 69 73 20 70 75 73 68 65 64 20 6f 6e 20 74 68 65 20 73 74 61   ┆ the result is pushed on the sta┆
0x0520…0540 63 6b 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 20 74 68 65 69 72 20 70 6c 61 63 65 2e 20 20 41   ┆ck in            their place.  A┆
0x0540…0560 6e 79 20 66 72 61 63 74 69 6f 6e 61 6c 20 70 61 72 74 20 6f 66 20 61 6e 20 65 78 70 6f 6e 65 6e   ┆ny fractional part of an exponen┆
0x0560…0580 74 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 73   ┆t is            ignored.       s┆
0x0580…05a0 08 73 08 73 08 73 5f 08 78 20 20 20 20 54 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 73 74 61 63   ┆ s s s_ x    The top of the stac┆
0x05a0…05c0 6b 20 69 73 20 70 6f 70 70 65 64 20 61 6e 64 20 73 74 6f 72 65 64 20 69 6e 74 6f 20 61 0a 20 20   ┆k is popped and stored into a   ┆
0x05c0…05e0 20 20 20 20 20 20 20 20 20 72 65 67 69 73 74 65 72 20 6e 61 6d 65 64 20 5f 08 78 2c 20 77 68 65   ┆         register named _ x, whe┆
0x05e0…0600 72 65 20 5f 08 78 20 6d 61 79 20 62 65 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 2e 20 20 49 66   ┆re _ x may be any character.  If┆
0x0600…0620 20 73 08 73 08 73 08 73 0a 20 20 20 20 20 20 20 20 20 20 20 69 73 20 75 70 70 65 72 63 61 73 65   ┆ s s s s            is uppercase┆
0x0620…0640 2c 20 5f 08 78 20 69 73 20 74 72 65 61 74 65 64 20 61 73 20 61 20 73 74 61 63 6b 20 61 6e 64 20   ┆, _ x is treated as a stack and ┆
0x0640…0660 74 68 65 20 76 61 6c 75 65 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 70 75 73 68 65 64 20 6f   ┆the value is            pushed o┆
0x0660…0680 6e 20 69 74 2e 0a 0a 20 20 20 20 20 6c 08 6c 08 6c 08 6c 5f 08 78 20 20 20 20 54 68 65 20 76 61   ┆n it.       l l l l_ x    The va┆
0x0680…06a0 6c 75 65 20 69 6e 20 72 65 67 69 73 74 65 72 20 5f 08 78 20 69 73 20 70 75 73 68 65 64 20 6f 6e   ┆lue in register _ x is pushed on┆
0x06a0…06c0 74 6f 20 74 68 65 20 73 74 61 63 6b 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 72 65   ┆to the stack.  The            re┆
0x06c0…06e0 67 69 73 74 65 72 20 5f 08 78 20 69 73 20 6e 6f 74 20 61 6c 74 65 72 65 64 2e 20 20 41 6c 6c 20   ┆gister _ x is not altered.  All ┆
0x06e0…0700 72 65 67 69 73 74 65 72 73 20 73 74 61 72 74 20 77 69 74 68 0a 20 20 20 20 20 20 20 20 20 20 20   ┆registers start with            ┆
0x0700…0720 7a 65 72 6f 20 76 61 6c 75 65 2e 20 20 49 66 20 6c 08 6c 08 6c 08 6c 20 69 73 20 75 70 70 65 72   ┆zero value.  If l l l l is upper┆
0x0720…0740 63 61 73 65 2c 20 72 65 67 69 73 74 65 72 20 5f 08 78 20 69 73 20 74 72 65 61 74 65 64 0a 20 20   ┆case, register _ x is treated   ┆
0x0740…0760 20 20 20 20 20 20 20 20 20 61 73 20 61 20 73 74 61 63 6b 2c 20 61 6e 64 20 69 74 73 20 74 6f 70   ┆         as a stack, and its top┆
0x0760…0780 20 76 61 6c 75 65 20 69 73 20 70 6f 70 70 65 64 20 6f 6e 74 6f 20 74 68 65 20 6d 61 69 6e 0a 20   ┆ value is popped onto the main  ┆
0x0780…07a0 20 20 20 20 20 20 20 20 20 20 73 74 61 63 6b 2e 0a 0a 20 20 20 20 20 64 08 64 08 64 08 64 20 20   ┆          stack.       d d d d  ┆
0x07a0…07c0 20 20 20 54 68 65 20 74 6f 70 20 76 61 6c 75 65 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 69 73   ┆   The top value on the stack is┆
0x07c0…07e0 20 64 75 70 6c 69 63 61 74 65 64 2e 0a 0a 20 20 20 20 20 70 08 70 08 70 08 70 20 20 20 20 20 54   ┆ duplicated.       p p p p     T┆
0x07e0…0800 68 65 20 74 6f 70 20 76 61 6c 75 65 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 69 73 20 70 72 69   ┆he top value on the stack is pri┆
0x0800…0820 6e 74 65 64 20 28 61 6e 64 20 75 6e 63 68 61 6e 67 65 64 29 2e 0a 20 20 20 20 20 20 20 20 20 20   ┆nted (and unchanged).           ┆
0x0820…0840 20 50 08 50 08 50 08 50 20 69 6e 74 65 72 70 72 65 74 73 20 74 68 65 20 74 6f 70 20 6f 66 20 74   ┆ P P P P interprets the top of t┆
0x0840…0860 68 65 20 73 74 61 63 6b 20 61 73 20 61 6e 20 41 53 43 49 49 20 73 74 72 69 6e 67 2c 0a 20 20 20   ┆he stack as an ASCII string,    ┆
0x0860…0880 20 20 20 20 20 20 20 20 72 65 6d 6f 76 65 73 20 69 74 2c 20 61 6e 64 20 70 72 69 6e 74 73 20 69   ┆        removes it, and prints i┆
0x0880…08a0 74 2e 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 20 20 20 20 20 41 6c 6c 20 76 61 6c 75 65 73 20   ┆t.       f f f f     All values ┆
0x08a0…08c0 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 61 6e 64 20 69 6e 20 72 65 67 69 73 74 65 72 73 20 61 72   ┆on the stack and in registers ar┆
0x08c0…08e0 65 20 70 72 69 6e 74 65 64 2e 0a 0a 20 20 20 20 20 71 08 71 08 71 08 71 20 20 20 20 20 65 78 69   ┆e printed.       q q q q     exi┆
0x08e0…0900 74 73 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 65 78 65 63 75 74 69 6e 67 20 61 20   ┆ts the program.  If executing a ┆
0x0900…0920 73 74 72 69 6e 67 2c 20 74 68 65 20 72 65 63 75 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 73 69   ┆string, the recur-            si┆
0x0920…0940 6f 6e 20 6c 65 76 65 6c 20 69 73 20 70 6f 70 70 65 64 20 62 79 20 74 77 6f 2e 20 20 49 66 20 71   ┆on level is popped by two.  If q┆
0x0940…0960 08 71 08 71 08 71 20 69 73 20 75 70 70 65 72 63 61 73 65 2c 20 74 68 65 0a 20 20 20 20 20 20 20   ┆ q q q is uppercase, the        ┆
0x0960…0980 20 20 20 20 74 6f 70 20 76 61 6c 75 65 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 69 73 20 70 6f   ┆    top value on the stack is po┆
0x0980…09a0 70 70 65 64 2e 20 20 54 68 65 20 73 74 72 69 6e 67 20 65 78 65 63 75 2d 0a 20 20 20 20 20 20 20   ┆pped.  The string execu-        ┆
0x09a0…09c0 20 20 20 20 74 69 6f 6e 20 6c 65 76 65 6c 20 69 73 20 70 6f 70 70 65 64 20 62 79 20 74 68 61 74   ┆    tion level is popped by that┆
0x09c0…09e0 20 76 61 6c 75 65 2e 0a 0a 20 20 20 20 20 78 08 78 08 78 08 78 20 20 20 20 20 74 72 65 61 74 73   ┆ value.       x x x x     treats┆
0x09e0…0a00 20 74 68 65 20 74 6f 70 20 65 6c 65 6d 65 6e 74 20 6f 66 20 74 68 65 20 73 74 61 63 6b 20 61 73   ┆ the top element of the stack as┆
0x0a00…0a20 20 61 20 63 68 61 72 61 63 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 73 74 72 69 6e 67 20 61   ┆ a character            string a┆
0x0a20…0a40 6e 64 20 65 78 65 63 75 74 65 73 20 69 74 20 61 73 20 61 20 73 74 72 69 6e 67 20 6f 66 20 5f 08   ┆nd executes it as a string of _ ┆
0x0a40…0a60 64 5f 08 63 20 63 6f 6d 6d 61 6e 64 73 2e 0a 0a 20 20 20 20 20 58 08 58 08 58 08 58 20 20 20 20   ┆d_ c commands.       X X X X    ┆
0x0a60…0a80 20 72 65 70 6c 61 63 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 6e 20 74 68 65 20 74 6f 70 20   ┆ replaces the number on the top ┆
0x0a80…0aa0 6f 66 20 74 68 65 20 73 74 61 63 6b 20 77 69 74 68 20 69 74 73 0a 20 20 20 20 20 20 20 20 20 20   ┆of the stack with its           ┆
0x0aa0…0ac0 20 73 63 61 6c 65 20 66 61 63 74 6f 72 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5b 08 5b 08 5b   ┆ scale factor.             [ [ [┆
0x0ac0…0ae0 08 5b 20 2e 08 2e 08 2e 08 2e 2e 08 2e 08 2e 08 2e 2e 08 2e 08 2e 08 2e 20 5d 08 5d 08 5d 08 5d   ┆ [ . . . .. . . .. . . . ] ] ] ]┆
0x0ae0…0b00 0a 20 20 20 20 20 20 20 20 20 20 20 50 75 74 73 20 74 68 65 20 62 72 61 63 6b 65 74 65 64 20 41   ┆            Puts the bracketed A┆
0x0b00…0b20 53 43 49 49 20 73 74 72 69 6e 67 20 6f 6e 74 6f 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 0a   ┆SCII string onto the top of the ┆
0x0b20…0b40 20 20 20 20 20 20 20 20 20 20 20 73 74 61 63 6b 2e 0a 0a 20 20 20 20 20 3c 5f 08 78 20 20 3e 5f   ┆           stack.       <_ x  >_┆
0x0b40…0b60 08 78 20 20 3d 5f 08 78 0a 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 74 6f 70 20 74 77 6f 20   ┆ x  =_ x            The top two ┆
0x0b60…0b80 65 6c 65 6d 65 6e 74 73 20 6f 66 20 74 68 65 20 73 74 61 63 6b 20 61 72 65 20 70 6f 70 70 65 64   ┆elements of the stack are popped┆
0x0b80…0ba0 20 61 6e 64 20 63 6f 6d 2d 0a 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 64 2e 20 20 52 65 67   ┆ and com-            pared.  Reg┆
0x0ba0…0bc0 69 73 74 65 72 20 5f 08 78 20 49 73 20 65 78 65 63 75 74 65 64 20 69 66 20 74 68 65 20 74 77 6f   ┆ister _ x Is executed if the two┆
0x0bc0…0be0 20 65 6c 65 6d 65 6e 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 68 61 76 65 20 74 68 65 20 73 74   ┆ elements            have the st┆
0x0be0…0c00 61 74 65 64 20 72 65 6c 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 76 08 76 08 76 08 76 20 20 20 20   ┆ated relation.       v v v v    ┆
0x0c00…0c20 20 52 65 70 6c 61 63 65 73 20 74 68 65 20 74 6f 70 20 65 6c 65 6d 65 6e 74 20 6f 6e 20 74 68 65   ┆ Replaces the top element on the┆
0x0c20…0c40 20 73 74 61 63 6b 20 62 79 20 69 74 73 20 73 71 75 61 72 65 0a 20 20 20 20 20 20 20 20 20 20 20   ┆ stack by its square            ┆
0x0c40…0c60 72 6f 6f 74 2e 20 20 41 6e 79 20 65 78 69 73 74 69 6e 67 20 66 72 61 63 74 69 6f 6e 61 6c 20 70   ┆root.  Any existing fractional p┆
0x0c60…0c80 61 72 74 20 6f 66 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 69 73 0a 20 20 20 20 20 20 20 20 20   ┆art of the argument is          ┆
0x0c80…0ca0 20 20 63 6f 6e 73 69 64 65 72 65 64 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 20 73 63   ┆  considered.  Otherwise, the sc┆
0x0ca0…0cc0 61 6c 65 20 66 61 63 74 6f 72 20 69 73 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20 20 21 08 21   ┆ale factor is ignored.       ! !┆
0x0cc0…0ce0 08 21 08 21 20 20 20 20 20 49 6e 74 65 72 70 72 65 74 73 20 74 68 65 20 72 65 73 74 20 6f 66 20   ┆ ! !     Interprets the rest of ┆
0x0ce0…0d00 74 68 65 20 6c 69 6e 65 20 61 73 20 61 20 73 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64 2e 0a 0a 20 20   ┆the line as a shell command.    ┆
0x0d00…0d20 20 20 20 63 08 63 08 63 08 63 20 20 20 20 20 41 6c 6c 20 76 61 6c 75 65 73 20 6f 6e 20 74 68 65   ┆   c c c c     All values on the┆
0x0d20…0d40 20 73 74 61 63 6b 20 61 72 65 20 70 6f 70 70 65 64 2e 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69   ┆ stack are popped.       i i i i┆
0x0d40…0d60 20 20 20 20 20 54 68 65 20 74 6f 70 20 76 61 6c 75 65 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20   ┆     The top value on the stack ┆
0x0d60…0d80 69 73 20 70 6f 70 70 65 64 20 61 6e 64 20 75 73 65 64 20 61 73 20 74 68 65 0a 20 20 20 20 20 20   ┆is popped and used as the       ┆
0x0d80…0da0 20 20 20 20 20 6e 75 6d 62 65 72 20 72 61 64 69 78 20 66 6f 72 20 66 75 72 74 68 65 72 20 69 6e   ┆     number radix for further in┆
0x0da0…0dc0 70 75 74 2e 20 20 49 08 49 08 49 08 49 20 50 75 73 68 65 73 20 74 68 65 20 69 6e 70 75 74 0a 20   ┆put.  I I I I Pushes the input  ┆
0x0dc0…0de0 20 20 20 20 20 20 20 20 20 20 62 61 73 65 20 6f 6e 74 6f 20 74 68 65 20 74 6f 70 20 6f 66 20 74   ┆          base onto the top of t┆
0x0de0…0e00 68 65 20 73 74 61 63 6b 2e 0a 0a 20 20 20 20 20 6f 08 6f 08 6f 08 6f 20 20 20 20 20 54 68 65 20   ┆he stack.       o o o o     The ┆
0x0e00…0e20 74 6f 70 20 76 61 6c 75 65 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 20 69 73 20 70 6f 70 70 65 64   ┆top value on the stack is popped┆
0x0e20…0e40 20 61 6e 64 20 75 73 65 64 20 61 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62   ┆ and used as the            numb┆
0x0e40…0e60 65 72 20 72 61 64 69 78 20 66 6f 72 20 66 75 72 74 68 65 72 20 6f 75 74 70 75 74 2e 0a 0a 20 20   ┆er radix for further output.    ┆
0x0e60…0e80 20 20 20 4f 08 4f 08 4f 08 4f 20 20 20 20 20 50 75 73 68 65 73 20 74 68 65 20 6f 75 74 70 75 74   ┆   O O O O     Pushes the output┆
0x0e80…0ea0 20 62 61 73 65 20 6f 6e 74 6f 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 73 74 61 63 6b 2e   ┆ base onto the top of the stack.┆
0x0ea0…0ec0 0a 0a 20 20 20 20 20 6b 08 6b 08 6b 08 6b 20 20 20 20 20 54 68 65 20 74 6f 70 20 6f 66 20 74 68   ┆       k k k k     The top of th┆
0x0ec0…0ee0 65 20 73 74 61 63 6b 20 69 73 20 70 6f 70 70 65 64 2c 20 61 6e 64 20 74 68 61 74 20 76 61 6c 75   ┆e stack is popped, and that valu┆
0x0ee0…0f00 65 20 69 73 20 75 73 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 61 73 20 61 20 6e 6f 6e 2d 6e 65   ┆e is used            as a non-ne┆
0x0f00…0f20 67 61 74 69 76 65 20 73 63 61 6c 65 20 66 61 63 74 6f 72 3a 20 74 68 65 20 61 70 70 72 6f 70 72   ┆gative scale factor: the appropr┆
0x0f20…0f40 69 61 74 65 20 6e 75 6d 62 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 70 6c 61 63 65 73   ┆iate number            of places┆
0x0f40…0f60 20 61 72 65 20 70 72 69 6e 74 65 64 20 6f 6e 20 6f 75 74 70 75 74 2c 20 61 6e 64 20 6d 61 69 6e   ┆ are printed on output, and main┆
0x0f60…0f80 74 61 69 6e 65 64 20 64 75 72 69 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 6d 75 6c 74 69 70 6c   ┆tained during            multipl┆
0x0f80…0fa0 69 63 61 74 69 6f 6e 2c 20 64 69 76 69 73 69 6f 6e 2c 20 61 6e 64 20 65 78 70 6f 6e 65 6e 74 69   ┆ication, division, and exponenti┆
0x0fa0…0fc0 61 74 69 6f 6e 2e 20 20 54 68 65 0a 20 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 61 63 74 69   ┆ation.  The            interacti┆
0x0fc0…0fe0 6f 6e 20 6f 66 20 73 63 61 6c 65 20 66 61 63 74 6f 72 2c 20 69 6e 70 75 74 20 62 61 73 65 2c 20   ┆on of scale factor, input base, ┆
0x0fe0…1000 61 6e 64 20 6f 75 74 70 75 74 0a 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 20 61 72 65 20 72   ┆and output            base are r┆
0x1000…1020 65 61 73 6f 6e 61 62 6c 65 20 69 66 20 61 6c 6c 20 61 72 65 20 63 68 61 6e 67 65 64 20 74 6f 67   ┆easonable if all are changed tog┆
0x1020…1040 65 74 68 65 72 2e 0a 0a 20 20 20 20 20 7a 08 7a 08 7a 08 7a 20 20 20 20 20 54 68 65 20 73 74 61   ┆ether.       z z z z     The sta┆
0x1040…1060 63 6b 20 6c 65 76 65 6c 20 69 73 20 70 75 73 68 65 64 20 6f 6e 74 6f 20 74 68 65 20 73 74 61 63   ┆ck level is pushed onto the stac┆
0x1060…1080 6b 2e 0a 0a 20 20 20 20 20 5a 08 5a 08 5a 08 5a 20 20 20 20 20 52 65 70 6c 61 63 65 73 20 74 68   ┆k.       Z Z Z Z     Replaces th┆
0x1080…10a0 65 20 6e 75 6d 62 65 72 20 6f 6e 20 74 68 65 20 74 6f 70 20 6f 66 20 74 68 65 20 73 74 61 63 6b   ┆e number on the top of the stack┆
0x10a0…10c0 20 77 69 74 68 20 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 6c 65 6e 67 74 68 2e 0a 0a 20 20   ┆ with its            length.    ┆
0x10c0…10e0 20 20 20 3f 08 3f 08 3f 08 3f 20 20 20 20 20 41 20 6c 69 6e 65 20 6f 66 20 69 6e 70 75 74 20 69   ┆   ? ? ? ?     A line of input i┆
0x10e0…1100 73 20 74 61 6b 65 6e 20 66 72 6f 6d 20 74 68 65 20 69 6e 70 75 74 20 73 6f 75 72 63 65 20 28 75   ┆s taken from the input source (u┆
0x1100…1120 73 75 2d 0a 20 20 20 20 20 20 20 20 20 20 20 61 6c 6c 79 20 74 68 65 20 74 65 72 6d 69 6e 61 6c   ┆su-            ally the terminal┆
0x1120…1140 29 20 61 6e 64 20 65 78 65 63 75 74 65 64 2e 0a 0a 20 20 20 20 20 3b 08 3b 08 3b 08 3b 20 3a 08   ┆) and executed.       ; ; ; ; : ┆
0x1140…1160 3a 08 3a 08 3a 20 20 20 61 72 65 20 75 73 65 64 20 62 79 20 5f 08 62 5f 08 63 20 66 6f 72 20 61   ┆: : :   are used by _ b_ c for a┆
0x1160…1180 72 72 61 79 20 6f 70 65 72 61 74 69 6f 6e 73 2e 0a 0a 20 20 20 20 20 62 08 62 08 62 08 62 63 08   ┆rray operations.       b b b bc ┆
0x1180…11a0 63 08 63 08 63 20 55 08 55 08 55 08 55 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6c 08 6c 08 6c   ┆c c c U U U Ut t t ti i i il l l┆
0x11a0…11c0 08 6c 69 08 69 08 69 08 69 74 08 74 08 74 08 74 79 08 79 08 79 08 79 0a 20 20 20 20 20 54 68 65   ┆ li i i it t t ty y y y      The┆
0x11c0…11e0 20 5f 08 62 5f 08 63 20 75 74 69 6c 69 74 79 20 69 73 20 61 20 70 72 65 70 72 6f 63 65 73 73 6f   ┆ _ b_ c utility is a preprocesso┆
0x11e0…1200 72 20 66 6f 72 20 5f 08 64 5f 08 63 2e 20 20 5f 08 62 5f 08 63 20 70 72 6f 76 69 64 65 73 20 69   ┆r for _ d_ c.  _ b_ c provides i┆
0x1200…1220 6e 66 69 78 0a 20 20 20 20 20 6e 6f 74 61 74 69 6f 6e 20 61 6e 64 20 61 20 43 2d 6c 69 6b 65 20   ┆nfix      notation and a C-like ┆
0x1220…1240 73 79 6e 74 61 78 2c 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 66 75 6e 63 74 69 6f 6e 73 20 61   ┆syntax, to implement functions a┆
0x1240…1260 6e 64 0a 20 20 20 20 20 72 65 61 73 6f 6e 61 62 6c 65 20 63 6f 6e 74 72 6f 6c 20 73 74 72 75 63   ┆nd      reasonable control struc┆
0x1260…1280 74 75 72 65 73 20 66 6f 72 20 70 72 6f 67 72 61 6d 73 2e 0a 0a 45 08 45 08 45 08 45 58 08 58 08   ┆tures for programs.  E E E EX X ┆
0x1280…12a0 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 50 08 50 08 50 4c 08 4c 08 4c 08 4c 45   ┆X XA A A AM M M MP P P PL L L LE┆
0x12a0…12c0 08 45 08 45 08 45 0a 20 20 20 20 20 41 6e 20 65 78 61 6d 70 6c 65 20 74 68 61 74 20 70 72 69 6e   ┆ E E E      An example that prin┆
0x12c0…12e0 74 73 20 74 68 65 20 66 69 72 73 74 20 74 65 6e 20 76 61 6c 75 65 73 20 6f 66 20 6e 21 20 66 6f   ┆ts the first ten values of n! fo┆
0x12e0…1300 6c 6c 6f 77 73 2e 0a 0a 20 20 20 20 20 20 20 20 5b 6c 61 31 2b 64 73 61 2a 70 6c 61 31 30 3e 79   ┆llows.          [la1+dsa*pla10>y┆
0x1300…1320 5d 73 79 0a 20 20 20 20 20 20 20 20 30 73 61 31 0a 20 20 20 20 20 20 20 20 6c 79 78 0a 0a 0a 53   ┆]sy         0sa1         lyx   S┆
0x1320…1340 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08   ┆ S S SE E E EE E E E A A A AL L ┆
0x1340…1360 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d   ┆L LS S S SO O O O      User Comm┆
0x1360…1380 61 6e 64 73 20 28 31 29 3a 20 20 62 63 0a 0a 0a 0a 0a 0a 0a 0a 0a 44 08 44 08 44 08 44 49 08 49   ┆ands (1):  bc         D D D DI I┆
0x1380…13a0 08 49 08 49 41 08 41 08 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f   ┆ I IA A A AG G G GN N N NO O O O┆
0x13a0…13c0 53 08 53 08 53 08 53 54 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08   ┆S S S ST T T TI I I IC C C CS S ┆
0x13c0…13e0 53 08 53 0a 20 20 20 20 20 78 08 78 08 78 08 78 20 69 08 69 08 69 08 69 73 08 73 08 73 08 73 20   ┆S S      x x x x i i i is s s s ┆
0x13e0…1400 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 69 08 69 08 69 08 69 6d 08 6d 08 6d 08 6d 70 08 70 08   ┆u u u un n n ni i i im m m mp p ┆
0x1400…1420 70 08 70 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6e   ┆p pl l l le e e em m m me e e en┆
0x1420…1440 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 77 68 65 72   ┆ n n nt t t te e e ed d d d wher┆
0x1440…1460 65 20 78 20 69 73 20 61 6e 20 6f 63 74 61 6c 20 6e 75 6d 62 65 72 2e 0a 20 20 20 20 20 73 08 73   ┆e x is an octal number.      s s┆
0x1460…1480 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b   ┆ s st t t ta a a ac c c ck k k k┆
0x1480…14a0 20 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 70 08 70 08 70 08 70 74 08 74 08 74 08 74 79 08 79   ┆ e e e em m m mp p p pt t t ty y┆
0x14a0…14c0 08 79 08 79 20 2d 20 6e 6f 74 20 65 6e 6f 75 67 68 20 65 6c 65 6d 65 6e 74 73 20 6f 6e 20 74 68   ┆ y y - not enough elements on th┆
0x14c0…14e0 65 20 73 74 61 63 6b 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 72 65 71 75 65 73 74 2e 0a 20 20   ┆e stack for the      request.   ┆
0x14e0…1500 20 20 20 4f 08 4f 08 4f 08 4f 75 08 75 08 75 08 75 74 08 74 08 74 08 74 20 6f 08 6f 08 6f 08 6f   ┆   O O O Ou u u ut t t t o o o o┆
0x1500…1520 66 08 66 08 66 08 66 20 73 08 73 08 73 08 73 70 08 70 08 70 08 70 61 08 61 08 61 08 61 63 08 63   ┆f f f f s s s sp p p pa a a ac c┆
0x1520…1540 08 63 08 63 65 08 65 08 65 08 65 20 2d 20 74 68 65 20 66 72 65 65 20 6c 69 73 74 20 69 73 20 65   ┆ c ce e e e - the free list is e┆
0x1540…1560 78 68 61 75 73 74 65 64 20 28 74 6f 6f 20 6d 61 6e 79 20 64 69 67 69 74 73 29 2e 0a 20 20 20 20   ┆xhausted (too many digits).     ┆
0x1560…1580 20 4f 08 4f 08 4f 08 4f 75 08 75 08 75 08 75 74 08 74 08 74 08 74 20 6f 08 6f 08 6f 08 6f 66 08   ┆ O O O Ou u u ut t t t o o o of ┆
0x1580…15a0 66 08 66 08 66 20 68 08 68 08 68 08 68 65 08 65 08 65 08 65 61 08 61 08 61 08 61 64 08 64 08 64   ┆f f f h h h he e e ea a a ad d d┆
0x15a0…15c0 08 64 65 08 65 08 65 08 65 72 08 72 08 72 08 72 73 08 73 08 73 08 73 20 2d 20 74 6f 6f 20 6d 61   ┆ de e e er r r rs s s s - too ma┆
0x15c0…15e0 6e 79 20 6e 75 6d 62 65 72 73 20 62 65 69 6e 67 20 6b 65 70 74 20 61 72 6f 75 6e 64 2e 0a 20 20   ┆ny numbers being kept around.   ┆
0x15e0…1600 20 20 20 4f 08 4f 08 4f 08 4f 75 08 75 08 75 08 75 74 08 74 08 74 08 74 20 6f 08 6f 08 6f 08 6f   ┆   O O O Ou u u ut t t t o o o o┆
0x1600…1620 66 08 66 08 66 08 66 20 70 08 70 08 70 08 70 75 08 75 08 75 08 75 73 08 73 08 73 08 73 68 08 68   ┆f f f f p p p pu u u us s s sh h┆
0x1620…1640 08 68 08 68 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 77 08 77 08 77 08 77 6e 08 6e 08 6e 08 6e   ┆ h hd d d do o o ow w w wn n n n┆
0x1640…1660 20 2d 20 74 6f 6f 20 6d 61 6e 79 20 69 74 65 6d 73 20 6f 6e 20 74 68 65 20 73 74 61 63 6b 2e 0a   ┆ - too many items on the stack. ┆
0x1660…1680 20 20 20 20 20 4e 08 4e 08 4e 08 4e 65 08 65 08 65 08 65 73 08 73 08 73 08 73 74 08 74 08 74 08   ┆     N N N Ne e e es s s st t t ┆
0x1680…16a0 74 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 44 08 44 08 44 08 44 65 08   ┆ti i i in n n ng g g g D D D De ┆
0x16a0…16c0 65 08 65 08 65 70 08 70 08 70 08 70 74 08 74 08 74 08 74 68 08 68 08 68 08 68 20 2d 20 74 6f 6f   ┆e e ep p p pt t t th h h h - too┆
0x16c0…16e0 20 6d 61 6e 79 20 6c 65 76 65 6c 73 20 6f 66 20 6e 65 73 74 65 64 20 65 78 65 63 75 74 69 6f 6e   ┆ many levels of nested execution┆
0x16e0…1700 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆.  December 1989                ┆
0x1700…1720 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 55 73 65 72 27 73 20 52 65 66 65 72   ┆                 TX User's Refer┆
0x1720…1740 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆ence                            ┆
0x1740…1757 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                              ┆                       ┆