Google
 

Trailing-Edge - PDP-10 Archives - decuslib10-11 - 43,50526/snote.doc
There are no other files named snote.doc in the archive.
                                                              < Page F - 1 >
----------------------------------------------------------------------------


SAM76 Functions



                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFFFFFFFFFFFFFFFFFFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                        FFFFFFF
                                                                            
                                                                             
                                                                             
                  
< Page F - 2 >                                               SAM76 Functions
----------------------------------------------------------------------------


SAM76 Functions

SAM76 Language Functions                                      < Page F - 3 >
----------------------------------------------------------------------------


 __________________________________________________________________________ 
||                                                                        ||
||                        SAM76 Language Functions                        ||
||__________________________________________________________________________||
                                                                            

The  SAM76 language functions described in the following pages represent the
second draft for test and  evaluation  purposes,  and  include  all  of  the
functions available in processors for that language coded for the INTEL 8080
and Zilog Z-80 microprocessors.

Not  all  functions are available in all SAM76 language processors, a number
of functions  relate  to  disk  systems,  or  are  particular  for  specific
machines.  Generally  this  is  done through the use of "sub-functions" of a
defined function; subfunction definitions are given in documents  associated
with particular systems.

All  functions  defined  herein  properly  represent the action expected for
processors which have the <ncra> identification; see function [@n].

                                                         __________________ 
The  references listed below should be used to provide  ||                ||
information as to language syntax, method of use,  and  ||   References   ||
applications:                                           ||__________________||
                                                                            
1.  "SAM76  -  A  language  based  on "Strachey's GPM and Mc Ilroy's M6", by
Claude A. R. Kagan, dated august 1976, and available as report R 76-301 from
the IEEE Computer Society, 5555 Naples Plaza, Long Beach, CA, 90803.

2. "SAM76 Language Manual"

3. Various notices and updates published in "Dr. Dobb's Journal of  Computer
Calisthenics and Orthodontia".

< Page F - 4 >                            Notation used in list of functions
----------------------------------------------------------------------------


 __________________________________________________________________________ 
||                                                                        ||
||                   Notation used in list of functions                   ||
||__________________________________________________________________________||
                                                                            

|function,arg1,arg2,...,argn|	Active form of execution
\function,arg1,arg2,...,argn\	Neutral form of execution

        @			"at" (wh@ means "what")

        c2,c1, ... ,c		Single characters
        s2,s1, ... ,s		Character strings
        s0			Prefixing character string
        t2,t1, ... ,t		Names of Texts
        f2,f1, ... ,f		Names of Files
        d2,d1, ... ,d		Decimal Numbers
        n2,n1, ... ,n		Numbers in current radix
        x2,x1, ... ,x		Binary numbers (octal/hex)
        vz			Value if function fails
        vt			Value if function True
        vf			Value if function False
        v0			Value if function zero
        v+			Value if function positive
        v-			Value if function negative
        dev			Device
	f or filename	Filename.Extension
        a2,a1, ... ,a		Abbreviations

        xn1,yn1, ... xn,yn	Increments in X and Y

        con		Condition
        EQ		Equal
        GT		Greater Than
        LT		Less Than
        ZE		Zero
        GE		Greater than or Equal
        LE		Less than or Equal
        UC		Upper Case
        LC		Lower Case

The  number of characters in "Filename" and "Extension" is a function of the
operating system. Usually the Filename is 6 to 8 characters,  and  Extension
allows for three characters.

When a radix greater than 10 is used upper case alphabetic symbols represent
the  ensuing  integers  starting with "A" being equivalent to 10 in base 10,
"B" to 11, and so on. Lower case characters are used when the radix  exceeds
36.