xref: /original-bsd/share/doc/papers/px/fig2.3.raw (revision 5ca63c25)
1HALT	2.2	Produce control flow backtrace
2BEG s,W,w,"	2.2,1.8	Write second part of block mark, enter block
3END	2.2,1.8	End block execution
4CALL l,A	2.2,1.8	Procedure or function call
5NODUMP s,W,w,"	2.2	\s-2BEG\s0 main program, suppress dump
6PUSH s	2.2,1.9	Clear space (for function result)
7POP s	2.2,1.9	Pop (arguments) off stack
8LINO s	2.2	Set line number, count statements
9TRA a	2.2	Short control transfer (local branching)
10TRA4 A	2.2	Long control transfer
11GOTO l,A	2.2,1.8	Non-local goto statement
12IF a	2.3	Conditional transfer
13REL* r	2.3	Relational test yielding Boolean result
14AND	2.4	Boolean and
15OR	2.4	Boolean or
16NOT	2.4	Boolean not
17LRV* l,A	2.5	Right value (load) operators
18RV* l,a	2.5	Right value (load) operators
19CON* v	2.5	Load constant operators
20AS*	2.5	Assignment operators
21OFF s	2.5	Offset address, typically used for field reference
22INX* s,w,w	2.6	Subscripting (indexing) operator
23NIL	2.6	Assert non-nil pointer
24LLV l,W	2.6	Address of operator
25LV l,w	2.6	Address of operator
26IND*	2.6	Indirection operators
27ADD*	2.7	Addition
28SUB*	2.7	Subtraction
29MUL*	2.7	Multiplication
30SQR*	2.7	Squaring
31DIV*	2.7	Fixed division
32MOD*	2.7	Modulus
33ABS*	2.7	Absolute value
34NEG*	2.7	Negation
35DVD*	2.7	Floating division
36RANG* v	2.8	Subrange checking
37CASEOP*	2.9	Case statements
38FOR* a	2.12	For statements
39PXPBUF w	2.10	Initialize \fIpxp\fP count buffer
40TRACNT w,A	2.10	Count a procedure entry
41COUNT w	2.10	Count a statement count point
42CTTOT s,w,w	2.11	Construct set
43CARD s	2.11	Cardinality of set
44STOI	2.12	Convert short to long integer
45STOD	2.12	Convert short integer to real
46ITOD	2.12	Convert integer to real
47ITOS	2.12	Convert integer to short integer
48GET	3.7	Get next record from a file
49PUT	3.8	Output a record to a file
50MESSAGE	3.6	Write to terminal
51FNIL	3.7	Check file initialized, not eof, synced
52FLUSH	3.11	Flush a file
53BUFF	3.11	Specify buffering for file "output"
54EOF	3.10	Returns \fItrue\fR if end of file
55EOLN	3.10	Returns \fItrue\fR if end of line on input text file
56RESET	3.11	Open file for input
57REWRITE	3.11	Open file for output
58REMOVE	3.11	Remove a file
59UNIT*	3.10	Set active file
60READ*	3.7	Read a record from a file
61WRITEC	3.8	Character unformatted write
62WRITEF l	3.8	General formatted write
63WRITES l	3.8	String unformatted write
64WRITLN	3.8	Output a newline to a text file
65PAGE	3.8	Output a formfeed to a text file
66MIN s	3.8	Minimum of top of stack and \fIs\fR
67MAX s,w	3.8	Maximum of top of stack and \fIw\fR
68NAM A	3.8	Convert enumerated type value to print format
69FILE	3.9	Push descriptor for active file
70DEFNAME	3.11	Attach file name for \fBprogram\fR statement files
71PACK s,w,w,w	2.15	Convert and copy from unpacked to packed
72UNPACK s,w,w,w	2.15	Convert and copy from packed to unpacked
73LLIMIT	2.14	Set linelimit for output text file
74ARGC	2.14	Returns number of arguments to current process
75ARGV	2.14	Copy specified process argument into char array
76CLCK	2.14	Returns user time of program
77SCLCK	2.14	Returns system time of program
78WCLCK	2.14	Returns current time stamp
79DATE	2.14	Copy date into char array
80TIME	2.14	Copy time into char array
81SEED	2.13	Set random seed, return old seed
82RANDOM	2.13	Returns random number
83DISPOSE	2.15	Dispose of a heap allocation
84NEW s	2.15	Allocate a record on heap, set pointer to it
85EXPO	2.13	Returns machine representation of real exponent
86ATAN	2.13	Returns arctangent of argument
87EXP	2.13	Returns exponential of argument
88LN	2.13	Returns natural log of argument
89COS	2.13	Returns cos of argument
90SIN	2.13	Returns sin of argument
91SQRT	2.13	Returns square root of argument
92CHR*	2.15	Returns integer to ascii mapping of argument
93ODD*	2.15	Returns \fItrue\fR if argument is odd, \fIfalse\fR if even
94PRED*	2.7	Returns predecessor of argument
95STLIM	2.14	Set program statement limit
96SUCC*	2.7	Returns successor of argument
97ROUND	2.13	Returns \s-2TRUNC\s0(argument + 0.5)
98TRUNC	2.13	Returns integer part of argument
99UNDEF	2.15	Returns \fIfalse\fR
100SDUP	2.2	Duplicate top stack word
101ASRT	2.12	Assert \fItrue\fR to continue
102IN s,w,w	2.11	Set membership
103INCT	2.11	Membership in a constructed set
104