Intel fortran-80 manuals
Computer Equipment > Laptop
When we buy new device such as Intel fortran-80 we often through away most of the documentation but the warranty.
Very often issues with Intel fortran-80 begin only after the warranty period ends and you may want to find how to repair it or just do some service work.
Even oftener it is hard to remember what does each function in Laptop Intel fortran-80 is responsible for and what options to choose for expected result.
Fortunately you can find all manuals for Laptop on our side using links below.
130 pages 5.26 Mb
2 PRINTED CP U.S.A./A151/1279/5K IN 3 PREFACE PREF'ACE GLOSSARY CHAPTER 1 INTRODUCTION TO FORTRAN CHAPTER AND CHAPTER 2 FORTRAN CONCEPTS 3 DEFINING VARIABLES, ARRA YS,AND MEMORY 5 CONTENTS I CHAPTER 4 PROGRAM EXECUTION CONTROLS CHAPTERS FUNCTIONS SUBROUTINES 6 INPUT/OUTPUT CHAPTER APPENDIX PROCESSOR APPENDIX ANSI TO APPENDIX DATA HOLLERITH ......... APPENDIX = STATEMENT FORTRAN-80 7 PROGRAMMING GUIDELINES A SUMMARY APPENDIXB INTRINSIC FUNCTIONS TYPE D EXTENSIONS FORTRAN E ASCII CODES APPENDIX F 8080/8085 DEPENDENCIES INDEX 6 ILLUSTRATIONS I 7 GLOSSARY Argument(s) -A collection Program - Procedure - Base - Number Main Program - Data - of Length Function -A File -A collection Expression -A Memory Equivalenced Compiler - Memory Common Association - Element - Array dummy 8 Program Unit -- Unit -A logical Subroutine -A Subprogram -A tJlock Label- Statement Statement -A Record 9 CHAPTER INTRODUCTION TO FORTRAN lines. comment 1.1 An Introductory Example HITS AVERAGE = TIMES AT BAT 1.1.1 Comment Lines C CALCULATE BATTING AVERAGES C VARIABLES USED- C PNAME = PLAYER'S NAME C AB = TIMES AT BAT CHITS = C AVG C READ 10, PNAME, AB, HITS 10 FORMAT (A, 2(2X, F3.0)) AVG PRINT 20, PNAME, AVG 20 FORMAT (A, 5X, F4.3) END 1.1.2 Type Statement 1.1.3 Input Statements assignment statement, in which the By default,thein,pu(is soleierlllinaL 1.1.4 Value Assignment Statement 1.1.5 Output Statements 10 lly 1.1.6 Program Termination 11 FORTRANSO nonexecutable. 1.2 Summary Of Statements CHAPTER 2 FORTRAN CONCEPTS 13 FEN: elements -2.1 FORTRAN Program Structure 2.1.1 Program U nits and Procedures '-----" 14 2.1.2 The PROG RAM Statement 2.1.3 Statements and Lines Format. 2.1.3.2 Line must compiler controls statements. 2.1.3.1 Statement Labels. Any statement can be labeled; any statement to be 2.2 FORTRAN Statement Elements 15 The .. set 17 . or ,luteger Or (irlte~~r~r/~~~~)c()nst~~tS'.and .~ritliineti9. ,<~()r ~~~.4.~~~~~e~.~~~~ implicitly integer memory (32 ',variables, well. 18 leo' are .. -. If 'Q' '8' specifier 'd numher + s a ... ' interpreted as a hexadecimal number. The o +64101 -#14010 -#4567Q +#AF2CH 2.2.3 Arrays PNAME 2.2.4 Expressions and Operators expression 2.2.4.2 Arithmetic Expressions. 2.2.4.1 Character Expressions. A 19 ** * + 24 o 27 CHAPTER 3 DEFINING VARIABLES, ARRAYS, AND MEMORY Type Statements 3.1.1 REAL Type Statement 3.1.2 INTEGER Type Statement 28 . is !l$$91l1eO,f$ee$ectiPfl.ll,2.(j). is .. arrayelenlent default. length . ofalOgical If ... t()..eacl1a,rray.el~~ent .. .the,l~ngthi~ppHe$ ao'a~; . s~:vifi~~t19rr.iPlnae~j~t~ly()n9W:il1g~n .. ~~~i!!$i~s.~~P . tb!~'~f~~~nt[lQ~. ~~~~<itel'tli~l .. . LOGICAL [*len[,]) name [,name] .. . .tQ . J~l1~tl)~~p~j~~ :~l'r~~i/t~~ .?111~\ 1711gt~f:()~it~~ti~~rn ~2itGB'li!er . sp~cifi9~tiqp;.i~~;:~i~t.7~X~11Q~.i119 .. ... 8'Y11\1~~~~~~pe9ifi~~tio~.~ i~s .. ~J.1estttJe~.el1ttlp~n~yil1~ .. . . ..~.~ffi~.~~~~rl~.fP~~~~~.n~.~e~~e~~?rf;l..~fir~~B:.~ lenj.i~~~~l~9:!~~i*~~f~;0;(<trl.ii)t~g~rV(l~i&l?1~9t f~E~.~~.~~ X~~~~P~f.~ of .~rp~yl~w~#t, is one is the forms and v[*/en} ary[(d)][* len] v an integer variable, function, or dummy procedure name an array name an array declarator ~t$ va,luernustuei{A, Qp4. . ~BRl~~~i~? ltl1gt~ ~A~/.~~ ~~p~~~rfty..~1~mel1t?J:f119.1e~~te:i~~R~fi~i~~~~9T$.~~rent Examples: INTEGER TOTALS INTEGER*1 DIGITS(10} INTEGER*4 TOTALS, SUBS*2, DIGITS(10}*1 3.1.3 LOGICAL Type Statement The LOGICAL type statement has the format: ... v ~~~~~l~~~~~~ij~~~sgf#lg$!~#~y~~~~~~$qp~!t~y.~~~m*p.~.lt$~h!~ . . . I~pj~~~~~~~~lR~~~~~;~.~~~w~~ i~enJ.i~t~el~ng~~fQ~~'a~r~t~tni~I1~>'.~9r~rt ~~ll~t~issp~~~f~e~yttl~current 29 3.1.4 CHARACTER Type Statement 3.1.5 IMPLICIT Statement typ len] let in precede all other specification statements in that program unit. The must 30 3.2 Array Definition an array declarator (section 3.2.1). The symbol 31 3.2.1 DIMENSION Statement 3.2.2 Kinds of Array Declarators = initialize + N,M-N) = A + 33 3.3 Assignment Statements 3.3.1 Arithmetic Assignment Statement 34 = 35 3.3.2 Logical Assignment 3.3.4 ASSIG N Assignment 3.3.3 Character Statement ASSIGN name FORMA executable T ASSIGN 1010 TO LOOP1 GOTO . 25 FORMAT .. . 36 3.3.5 37 3.4 Memory Definition 3.4.1 EQUIVALENCE Statement 38 3.4.2 3.4.2.1 39 3.4.3 BLOCK DATA Common Blank and 3.4.2.2 Named Block Memory Sequence. Blocks. Subprograms 40 3.4.4 BLOCK DATA Statement BLOCK DATA [name] BLOCK DATA BLK1 LOGICAL FLAGS(3) INTEGER ZEROS(10),RESULTS COMMON /BLOCK1/ FLAGS,ZEROS,RESULT DATA FLAGS/.TRUE., .TRUE., .FALSE.! &ZEROS/1 0* 0/ END 41 CHAPTER 4 PROGRAM EXECUTION CONTROLS 4.1 exp Statement TO Unconditional GO 4.1.1 Transferring Program Oontrol 4.1.2 Computed GO TO Statement 42 4.1.3 4.1.4 IF(exp)s1,s2,s3 43 + 4.1.5 Logical I F Statement 4.1.6 IF, ELSE IF, and ELSE Blocks 44 =:J 4.1.7 Block I F Statement 4.1.8 46 4.2 Loop Control Statements 4.2.1 Operation of a DO Loop 4.2.2 DO Statement N=O == IS 5X, FORMAT (A12, 30 DO DO 100 I 1,10 J 100 K = 1,5 L=K 100 N = N + 1 110 CONTINUE CHARACTER*12 PNAME DO F4.3) 30 CONTINUE C LOOP CAN NOT TERM I NATE WITH STATEM ENT 20 C BECAUSE 'FORMAT' NONEXECUTABLE 4.2.3 CONTINUE Statement 47 4.3 Program Termination Statements 48 4.3.1 PAUSE Statement EN 4.3.3 4.3.2 STOP Statement 0 every pro- gram unit statement. 49 CHAPTER 5 FUNCTIONS AND SUBROUTINES Intrinsic, 5.1.1 5.1 Subroutine subprograms identified by their initial (external Intrinsic and Statement Functions 52 5.2 External Procedures 5.2.1 FUNCTION Statement 4. Referencing External Functions. 5.2.1.2 Subprogram FUNCTION Limitations 53 5.2.2 PROGRAM CALL .. RETURN BROUTI N E SU SUBROUTINE 54 .~RETURN CA.~END RN 5.2.4 RETU 5.2.3 SUBROUTINE Statement Statement 55 + B + 5.2.5 5.2.6 56 5.3 Arguments And Common Blocks Revisited 57 5.3.1 Common Blocks 5.3.2 Dummy And Actual Arguments 5.3.3 Association Of Arguments 5.3.3.1 Agreement 58 shq""n EXTERNAL an and Of Argument Lengths 5.3.3.2 Variables As Dummy Arguments 5.3.3.3 Arrays As Dummy Arguments 5.3.3.4 Procedures As Dummy Arguments statement, 59 5.3.3.5 Argument Association Limitations Y, F(X, X) 61 CHAPTER INPUT/OUTPUT and character 6.1.1 6.1 ?~~~;~~~f~rp/~Ptq~$gt;l~~!pp.qr~lif:.~~~'~~Jl9.~~ffJf!J;Jff ~~f:~~~~t~~~~~r.~~~~I~~.9:~~~~.~I~Btg1~<l~~t~.*P~~~2t:E~?P:S>~~i~~Intetf:9RjR~N Records, Files, And Units Record Properties 6.1.2 File Properties 64 6.2 File-Handling Statements 6.2.1 OPEN Statement = stat fmat control specifier Specifier Specifier 65 6.2.1.3 Error Status File 6.2.1.5 Name File 6.2.1.4 Specifier Specifier OPEN 66 6.2.1.6 Length Record 6.2.1.8 (3, OPEN FORM = FllE='MYPROG', Formatting 6.2.1.7 Method Access (3, 'MYPROG.SRC', STATUS = 'NEW') Specifier ACCESS = ace STATUS='NEW', Specifier Specifier 67 6.2.1.9 6.2.1.11 Opening A Connected Unit 68 6.2.2 70 1/0 (ctl-list) f 6.3 Data-Transfer ERR= (3, ENDFILE ERRFLG, IOSTAT= (3, 1030) 6.2.5 ENDFILE Statement unit ENDFILE ENDFILE 3 ENDFILE ERR = 1040) Statements 6.3.1 READ Statement [in-list] READ etl-Iist in-list f' 71 = List Information Control 6.3.1.1 6.3.1.2 73 6.3.2 Input List 6.3.1.3 Implied-DO List Statement 74 6.4 Formatted And Unformatted Data Transfer 6.4.1 Unformatted Data Transfer 6.4.2 Formatted Data Transfer to edit descriptors 6.4.2.2 + 6.4.2.1 Printing Formatted Records 75 o 76 6.4.3 FORMAT 110 I, F, Descriptors. Edit Repeatable 6.4.3.1.1 110 6.4.3. t Edit Descriptors E, w Z '-1' COLUMNS BE PRINTED OUT IN TWO WILL TABLE 20, READ (2,20) INTNM1, INTNM2, 77 'Ff'). Integer Editing PRINT 20, INTNUM 20 FORMAT INTNM3 20 FORMAT (215,14) READ (2,20) REALN M 20 FORMAT (F5.3) DIMENSION TABLE (10) PRINT TABLE 20 FORMAT 5(F5.3, 2X, F5.3) CTHE 78 'exp' 99< 79 ... Apostrophe ... C), termination Alternate . be can descriptors edit flum ber hase The as wnse the represent' If.O.n~." io pu out are ;.~.'.'~nat~Ptrs. .... .fo~ sP~.~i.fi.eq. 4~s;ct.iptors tne~~ . ()( 'Bw' ora either a sjgu 10 A:nil1~lltit7ttiirp~t~~9~H~ or':fw~?~~pr~~~Rt~tis~cpn~~sts .~. onlyofbi~ary cannot contain letter indicatingthebas. t~e input, For 'under a 'Z5'editdesctiptor. specif\edfof h n' hn kP Hollerith string descriptor desc:riptor 80 'H' Descriptor Editing 'X' Descriptor Editing Slash Editing FS.2 81 . .... ... ilq f~r~~~~r~~ti,~~ .p~i~~t~l,~ .~.~~~. ~.s (J~~pti~t?f ~.~.)..e~l~ $~~~ t~r?Mgp.L.a 85 CHAPTER 7 PROGRAMMING GUIDELINES 7.1 documentionfrom good 7.1.1 Program Development 88 7.2 FORTRAN Coding 7.2.1 Functions And Subroutines 7.2.2 GO TO Statement 7.2.3 Crossing Unit Lines 7.2.4 Computing Variables And Constants 7.2.5 Reminders FORTRAN for Programming Pro verbs Programming, Computer of Art The and Communications 0.1., 89 7.3 References Structured Programming, of the A CM, Vol. 15, No. Microcomputers/Microprocessors: Hardware, Software, Applications, Fundamental Algorithms, Programmers, 91 APPENDIX A FORTRAN-80 STATEMENT SUMMARY A.1 Statement Sequence A.2 Statement Summary 103 APPENDIX B I INTRINSIC FUNCTIONS 113 APPENDIX E I ASCII CODES - a / CO and characters representable on Intel processors ASCII following table lists the The their collating sequence. HT ASCII CODES + -- 115 APPENDIX F 8080/8085 PROCESSOR On Processor Limitations F.1 DEPENDENCIES Language F.2 Compiler Extensions 116 F .2.1 column be in must CALL exp F.2.2 Port Lowercase Letters Input/Output INPUT CALL OUTPUT port INPUT(1, TEST1) CALL OUTPUT(2, 100) F .2.3 Reentrant Procedures F.2.4 Free-form Line Format $FREEFORM 117 F .2.5 I nterpretation of DO Statements $0077 compatible, ANSI allocation. memory ANSI standard the to conform not do $STORAGE(INTEGER*2,lOGICAl ICAl lOG length, * ER NTEG E(I $STORAG F.2.6 Default Data Lengths * length) *1) These defaults To be totally specify $STORAGE(INTEGER*4,lOGICAl *4) F.2.7 Including Source Files F.2.8 For -:F1:MYPROG UNIT4 :LP:, UNIT 5 :FO:SYSIN UNIT n = Block. If' An Into Memory Locations. of In Standard Flexibility F.2.9 Specification REel Sequential Files Restrictions 118 F.3 Unit Preconnection 119 INDEX I primary in italics in this index denote shown numbers The page references. 125 inter SOFTWARE __ o Compiler o o o Manual o Assembler o PROBLEM REPORT 04004/4040 0800S 08OS0 03000 o o o o Program Listing o _____________
Also you can find more Intel manuals or manuals for other Computer Equipment.