13.07.2015 Views

apple-pascal-1.3-manual

apple-pascal-1.3-manual

apple-pascal-1.3-manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If you type SAMPL, the program you just linked will be loaded and executed,to produce this display:initial array:(iJ 1 2 3 4 5 6 7 8 9array, incremented:1 2 3 4 5 6 7 8 9 10incremented array, times 2:2 4 6 8 11/J 12 14 16 18 2f/JAssembler InformationThis section defines the syntax of assembly-language source files and of thestatements they contain. It does not describe programming techniques, butonly the way the program must be written for the Pascal Assembler toassemble it.Syntax of Assembler Sm.m::e FilesThe routines you assemble with the Pascal Assembler will be externalprocedures and functions used with Pascal programs. Statements that donot generate actual instruction code can also occur outside the body of aprocedure or function. These statements can be of two kinds:o Statements in macro definitions;o Statements using any of the assembler directives in the following table .. EQU .MACRO .IF.ABSOLUTE .ENDM .ELSE.INTERP .LIST .ENDC.DEF .NOLIST .MACRO LIST.REF .PAGE .NOMACROLIST.TITLE .PATCHLIST.NOPATCHLISTAll symbols defined before the first procedure or function stay in the symboltable throughout the assembly, so they can be referred to from any of theroutines in the source file. When each new procedure or function begins, allsymbols are removed from the symbol table except the ones that weredefined before the first procedure or function.Assembler Information 11-175

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!