xref: /netbsd-src/share/doc/papers/px/fig2.3.raw (revision d9158b13b5dfe46201430699a3f7a235ecf28df3)
1*d9158b13ScgdHALT	2.2	Produce control flow backtrace
2*d9158b13ScgdBEG s,W,w,"	2.2,1.8	Write second part of block mark, enter block
3*d9158b13ScgdEND	2.2,1.8	End block execution
4*d9158b13ScgdCALL l,A	2.2,1.8	Procedure or function call
5*d9158b13ScgdNODUMP s,W,w,"	2.2	\s-2BEG\s0 main program, suppress dump
6*d9158b13ScgdPUSH s	2.2,1.9	Clear space (for function result)
7*d9158b13ScgdPOP s	2.2,1.9	Pop (arguments) off stack
8*d9158b13ScgdLINO s	2.2	Set line number, count statements
9*d9158b13ScgdTRA a	2.2	Short control transfer (local branching)
10*d9158b13ScgdTRA4 A	2.2	Long control transfer
11*d9158b13ScgdGOTO l,A	2.2,1.8	Non-local goto statement
12*d9158b13ScgdIF a	2.3	Conditional transfer
13*d9158b13ScgdREL* r	2.3	Relational test yielding Boolean result
14*d9158b13ScgdAND	2.4	Boolean and
15*d9158b13ScgdOR	2.4	Boolean or
16*d9158b13ScgdNOT	2.4	Boolean not
17*d9158b13ScgdLRV* l,A	2.5	Right value (load) operators
18*d9158b13ScgdRV* l,a	2.5	Right value (load) operators
19*d9158b13ScgdCON* v	2.5	Load constant operators
20*d9158b13ScgdAS*	2.5	Assignment operators
21*d9158b13ScgdOFF s	2.5	Offset address, typically used for field reference
22*d9158b13ScgdINX* s,w,w	2.6	Subscripting (indexing) operator
23*d9158b13ScgdNIL	2.6	Assert non-nil pointer
24*d9158b13ScgdLLV l,W	2.6	Address of operator
25*d9158b13ScgdLV l,w	2.6	Address of operator
26*d9158b13ScgdIND*	2.6	Indirection operators
27*d9158b13ScgdADD*	2.7	Addition
28*d9158b13ScgdSUB*	2.7	Subtraction
29*d9158b13ScgdMUL*	2.7	Multiplication
30*d9158b13ScgdSQR*	2.7	Squaring
31*d9158b13ScgdDIV*	2.7	Fixed division
32*d9158b13ScgdMOD*	2.7	Modulus
33*d9158b13ScgdABS*	2.7	Absolute value
34*d9158b13ScgdNEG*	2.7	Negation
35*d9158b13ScgdDVD*	2.7	Floating division
36*d9158b13ScgdRANG* v	2.8	Subrange checking
37*d9158b13ScgdCASEOP*	2.9	Case statements
38*d9158b13ScgdFOR* a	2.12	For statements
39*d9158b13ScgdPXPBUF w	2.10	Initialize \fIpxp\fP count buffer
40*d9158b13ScgdTRACNT w,A	2.10	Count a procedure entry
41*d9158b13ScgdCOUNT w	2.10	Count a statement count point
42*d9158b13ScgdCTTOT s,w,w	2.11	Construct set
43*d9158b13ScgdCARD s	2.11	Cardinality of set
44*d9158b13ScgdSTOI	2.12	Convert short to long integer
45*d9158b13ScgdSTOD	2.12	Convert short integer to real
46*d9158b13ScgdITOD	2.12	Convert integer to real
47*d9158b13ScgdITOS	2.12	Convert integer to short integer
48*d9158b13ScgdGET	3.7	Get next record from a file
49*d9158b13ScgdPUT	3.8	Output a record to a file
50*d9158b13ScgdMESSAGE	3.6	Write to terminal
51*d9158b13ScgdFNIL	3.7	Check file initialized, not eof, synced
52*d9158b13ScgdFLUSH	3.11	Flush a file
53*d9158b13ScgdBUFF	3.11	Specify buffering for file "output"
54*d9158b13ScgdEOF	3.10	Returns \fItrue\fR if end of file
55*d9158b13ScgdEOLN	3.10	Returns \fItrue\fR if end of line on input text file
56*d9158b13ScgdRESET	3.11	Open file for input
57*d9158b13ScgdREWRITE	3.11	Open file for output
58*d9158b13ScgdREMOVE	3.11	Remove a file
59*d9158b13ScgdUNIT*	3.10	Set active file
60*d9158b13ScgdREAD*	3.7	Read a record from a file
61*d9158b13ScgdWRITEC	3.8	Character unformatted write
62*d9158b13ScgdWRITEF l	3.8	General formatted write
63*d9158b13ScgdWRITES l	3.8	String unformatted write
64*d9158b13ScgdWRITLN	3.8	Output a newline to a text file
65*d9158b13ScgdPAGE	3.8	Output a formfeed to a text file
66*d9158b13ScgdMIN s	3.8	Minimum of top of stack and \fIs\fR
67*d9158b13ScgdMAX s,w	3.8	Maximum of top of stack and \fIw\fR
68*d9158b13ScgdNAM A	3.8	Convert enumerated type value to print format
69*d9158b13ScgdFILE	3.9	Push descriptor for active file
70*d9158b13ScgdDEFNAME	3.11	Attach file name for \fBprogram\fR statement files
71*d9158b13ScgdPACK s,w,w,w	2.15	Convert and copy from unpacked to packed
72*d9158b13ScgdUNPACK s,w,w,w	2.15	Convert and copy from packed to unpacked
73*d9158b13ScgdLLIMIT	2.14	Set linelimit for output text file
74*d9158b13ScgdARGC	2.14	Returns number of arguments to current process
75*d9158b13ScgdARGV	2.14	Copy specified process argument into char array
76*d9158b13ScgdCLCK	2.14	Returns user time of program
77*d9158b13ScgdSCLCK	2.14	Returns system time of program
78*d9158b13ScgdWCLCK	2.14	Returns current time stamp
79*d9158b13ScgdDATE	2.14	Copy date into char array
80*d9158b13ScgdTIME	2.14	Copy time into char array
81*d9158b13ScgdSEED	2.13	Set random seed, return old seed
82*d9158b13ScgdRANDOM	2.13	Returns random number
83*d9158b13ScgdDISPOSE	2.15	Dispose of a heap allocation
84*d9158b13ScgdNEW s	2.15	Allocate a record on heap, set pointer to it
85*d9158b13ScgdEXPO	2.13	Returns machine representation of real exponent
86*d9158b13ScgdATAN	2.13	Returns arctangent of argument
87*d9158b13ScgdEXP	2.13	Returns exponential of argument
88*d9158b13ScgdLN	2.13	Returns natural log of argument
89*d9158b13ScgdCOS	2.13	Returns cos of argument
90*d9158b13ScgdSIN	2.13	Returns sin of argument
91*d9158b13ScgdSQRT	2.13	Returns square root of argument
92*d9158b13ScgdCHR*	2.15	Returns integer to ascii mapping of argument
93*d9158b13ScgdODD*	2.15	Returns \fItrue\fR if argument is odd, \fIfalse\fR if even
94*d9158b13ScgdPRED*	2.7	Returns predecessor of argument
95*d9158b13ScgdSTLIM	2.14	Set program statement limit
96*d9158b13ScgdSUCC*	2.7	Returns successor of argument
97*d9158b13ScgdROUND	2.13	Returns \s-2TRUNC\s0(argument + 0.5)
98*d9158b13ScgdTRUNC	2.13	Returns integer part of argument
99*d9158b13ScgdUNDEF	2.15	Returns \fIfalse\fR
100*d9158b13ScgdSDUP	2.2	Duplicate top stack word
101*d9158b13ScgdASRT	2.12	Assert \fItrue\fR to continue
102*d9158b13ScgdIN s,w,w	2.11	Set membership
103*d9158b13ScgdINCT	2.11	Membership in a constructed set
104