User guide

6 CHAPTER 1. THE SYSTEM OVERVIEW
* \ A= 3 B= 1 46279: LF 46332
* \ A= fact B= 3 46281: K9
* \ A= 3 B= 3 46332: JNE0 46336
* \ A= 3 B= 3 46336: LM1
* \ A= -1 B= 3 46337: AP3
* \ A= 2 B= 3 46338: LF 46332
* \ A= fact B= 2 46340: K4
* \ A= 2 B= 2 46332: JNE0 46336
* \ A= 2 B= 2 46336: LM1
* \ A= -1 B= 2 46337: AP3
* \ A= 1 B= 2 46338: LF 46332
* \ A= fact B= 1 46340: K4
* \ A= 1 B= 1 46332: JNE0 46336
* \ A= 1 B= 1 46336: LM1
* \ A= -1 B= 1 46337: AP3
* \ A= 0 B= 1 46338: LF 46332
* \ A= fact B= 0 46340: K4
* \ A= 0 B= 0 46332: JNE0 46336
* \ A= 0 B= 0 46334: L1
* \ A= 1 B= 0 46335: RTN
* \ A= 1 B= 0 46341: LP3
* \ A= 1 B= 1 46342: MUL
* \ A= 1 B= 1 46343: RTN
* \ A= 1 B= 1 46341: LP3
* \ A= 2 B= 1 46342: MUL
* \ A= 2 B= 1 46343: RTN
* \ A= 2 B= 1 46341: LP3
* \ A= 3 B= 2 46342: MUL
* \ A= 6 B= 2 46343: RTN
* \ A= 6 B= 2 46282: SP9
* \ A= 6 B= 2 46283: LP3
* \ A= 3 B= 6 46284: SP8
* \ A= 3 B= 6 46285: LLL 46300
* \ A= 11575 B= 3 46287: K4G 94
*
At this moment the routine writef is just about to be entered t o print an message
about factorial 3. We can unset breakpoint 1 and continue normal execution by
typing 0b1 c.
* 0b1 c
fact(3) = 6
fact(4) = 24
fact(5) = 120
0.010>
As one final example in this session we will re-compile the BCPL compiler.
0.010> bcpl com/bcpl.b to junk
BCPL (5 Oct 2010)
Code size = 22076 bytes
Code size = 12500 bytes
0.280>