home *** CD-ROM | disk | FTP | other *** search
- TITLE 'PC/370 ASSIST Facility Documentation'
-
- A. Overview
- B. ASSIST extended instructions
- C. User Guide
-
- EJECT
-
- A. Overview
-
- The book, "Assembler Language With ASSIST", by Ross A. Overbeek
- and W. E. Singletary published by Science Research Assocaites, Inc.
- in 1976 describes a set of 370 extended instructions to greatly
- simplify input and output for students learning to write 370 assembler
- programs.
-
- PC/370 implements these instructions to allow students to
- code, assemble, and execute ASSIST 370 programs on any 80x86 MS-DOS
- based micro-computer rather than having to use an IBM 370 mainframe.
- This was the original objective for which PC/370 was developed back
- in 1981. The first students to use PC/370 with ASSIST were volunteers
- at the University of South Florida, College of Engineering. The
- students used a CP/M based Z80 micro-computer with the original version
- of PC/370 instead of the IBM 3033 mainframe ASSIST system accessed via
- RJE using keypunched card decks.
-
- EJECT
-
- B. ASSIST extended instructions
-
- 1. XFILI =C'filename'
-
- This extended instruction redirects input source for XREAD.
- If open, the current input source file is closed. The new
- filename can be any standard MS-DOS path/filename ending with
- suffix .xxx or a zero byte. If the filename is CON: then the
- input source is the console with a ? prompt. To set the ASSIST
- end of file condition code for XREAD from the console, use the
- escape (ESC) key. See TESTACON.ALC for demo of redirection.
-
- 2. XFILO =C'filename'
-
- This extended instruction redirects the output from XPRNT.
- If open, the current output file is closed. The new file name
- can be any standard MS-DOS path/filename ending with suffix
- .xxx or a zero byte. If the filename is CON: then the output
- from XPRNT is directed to the console. The first byte which is
- printer control code is also printed on console.
-
- 3. XREAD area [,length]
-
- Read record into area with default length of 80 padded with
- blanks. If the input is coming from console, the first
- carriage return defines end of record, and single ESC character
- defines end of file. Note ASCII charaters from console or file
- are automatically translated to EBCDIC in record area.
- Condition code set as follows:
-
- 0 - read successful
- 1 - end of file
-
- Default input source is file named ASSIST.DAT. If the file is
- not found, the input and output source is switched to console.
-
- 4. XPRNT area [,length]
-
- Print record from area with default length of 132. Trailing
- blanks are stripped off. The first character is used as standard
- ANSII print control character:
-
- ' ' - space means skip one line
- '/' - slash means skip two lines
- '1' - one means skip a page
- '+' - means skip no lines
- '-' - dash means skip three lines
-
- Output to console includes print control character. Default
- output is to file named ASSIST.PRN which is also used by
- interactive debug X logging command and XDUMP.
-
- 5. XDECI reg,area
-
- Read ASCII integer number from area and store into register.
- Leading plus or minus signs may be present. Condition code is
- set as follows:
-
- 0 - number is zero
- 1 - number less than zero
- 2 - number is greater than zero
- 3 - no number found in area
-
- Register 1 is set to address of first character after number read.
-
- 6. XDECO reg,area
-
- Convert binary integer number in register to 12 character display
- field with numberic value including sign.
-
- 7. XDUMP [area start, area end]
-
- Dump general purpose registers (default with no args) or
- dump area of memory to output file.
-
-
-
- EJECT
-
- C. User Guide
-
- To code and execute a 370 demo program, follow the following steps:
-
- 1. Set default MS-DOS drive to floppy disk with executable code files.
-
- 2. Type the command: SEE DEMO
-
- 3. When the full screen editor (SEE.COM) loads and displays blank
- screen, hit CAPS key and INSERT key until both CAPS and INSERT
- indicators are on.
-
- 4. Enter the following lines of text follwed by carriage returns:
-
- a. DEMO CSECT
- b. USING *,15
- c. XPRNT LINE
- d. BR 14
- e. LINE DC CL133' PC/370 ASSIST DEMO PROGRAM'
- f. END DEMO
-
- 5. Enter ESC key to save DEMO.ALC file on diskette and exit editor.
-
- 6. To assemble 370 demo program, enter command: A370 DEMO
-
- 7. If any errors occured in assembly, edit file via command: SEE DEMO
-
- (The SEE editor supports full screen editing via arrow keys etc.
- For more information see SEE.DOC.)
-
- 7. To link 370 demo program, enter command: L370 DEMO
-
- 8. To execute 370 demo program, enter command: DEMO
-
- (Message line should be displayed on console. In release 1
- default ASSIST output went to ASSIST.PRN disk file. To
- change output file assignment, use ASSIST instruction XFILO.)
-
- Two demo programs DEMOAST1.ALC and DEMOAST2.ALC illustrate use of
- all ASSIST extended instructions.
-
- The interactive debug facility (see DEBUG.DOC) also has a command
- X which toggles recording of all interactive debug console output
- to the ASSIST output file (default name is ASSIST.PRN).
-