Académique Documents
Professionnel Documents
Culture Documents
PAL - 1 1 R ASS E M B L E R
and
Relocatable Assembler
for the
Associated Documents:
PDP-II Disk Operating System Monitor,
Programmer's Handbook, DEC-ll-MWDA-D
PDP-II Edit-II Text Editor,
Programmer's Manual, DEC-ll-EEDA-D
PDP-II ODT-llR Debugging Program,
Programmer's Manual, DEC-ll-OODA-D
PDP-II PIP, File Utility Package,
Programmer's Manual, DEC-ll-PIDA-D
PDP-II Link-II Linker and Libr-ll Librarian,
Programmer's Manual, DEC-ll-ZLDA-D
ii
PRE F ACE
DOS-Monitor
Edit-II Text Editor
ODT-IIR Debugging Program
PIP, File Utility Package
Link-II Linker
Libr-ll Librarian
FORTRAN IV
iii
CON TEN T S
v
Page
vi
Page
vii
CHAPTER 1
INTRODUCTION
1-1
CHAP~ER 2
STATEMENTS
The label and comment fields are optional. The operator and
operand fields are interdependent, i.e., either may be omitted
depending upon the contents of the other.
2-1
2. The numbers ° through 9.
3. The characters . and $ (these characters are reserved for
systems use).
4. The separating or terminating symbols:
% # @ II
+ &
carriage return tab space line feed form feed
2.2 LABEL
will assign the value 100S to the label ABCD so that subsequent
reference to ABCD will be to location lOOse In the above example
if the location counter were relocatable, the final value of ABCD
would be 100S+K, where K is the location of the beginning of the
relocatable section in which the label ABCD appears. More than one
label may appear within a single label field; each label within the
field will have the same value. For example, if the current location
counter is 100, multiple labels in the statement:
will equate each of the three labels ABC, $DD, and A7.7 with the
value lOOse ($ and. are reserved for system software.)
2-2
.2.3 OPERATOR
The operator may be preceded only by one or more labels and may
be followed by one or more operands and/or a comment. An operator
is legally terminated by a space, tab, or any of the following
characters:
# + @ " % &
line feed form feed carriage return
2.4 OPERAND
2-3
LABEL: MOV GEORGE,BOB ;THIS IS A COMMENT
where the space between MOV and GEORGE terminated the operator field
and began the operand field; the comma separated the operands GEORGE
and BOB; the semicolon terminated the operand field and began the
comment.
2.5 COMMENTS
The comment field is optional and may contain any ASCII character
except null, rubout, carriage return, line feed, or form feed. All
other characters, even those with special significance, are ignored
by the Assembler when used in the comment field.
2-4
CHAPTER 3
SYMBOLS
3-1
associated with its corresponding machine op-code.
2. If a permanent symbol in the operand field is also user-
defined, its user-defined value is associated with the
symbol. If the symbol is not found to be user-defined,
then the corresponding machine op-code absolute value is
associated with the symbol.
In both cases, the symbol must be defined within the current assembly;
the significance of the distinction is critical in evaluating expres-
sions involving type 2. above (Section 4.4).
3-2
The general format for a direct assignment statement is:
symbol = expression
x Y
Y Z
Z 1
Examples:
3-3
expression of a register symbol must be absolute. For example:
CLR %6
CLR 6
3-4
CHAPTER 4
EXPRESSIONS
Arithmetic and logical operators (see Section 4.2) may be used to form
expressions. A term of an expression may be a permanent symbol, a user-
defined symbol (which may be absolute, relocatable, or global), a num-
ber, ASCII data, or the present value of the assembly location counter
represented by the period. Expressions are evaluated from left to
right. Parenthetical grouping is not allowed.
4.1 NUMBERS
The Assembler accepts both octal and decimal numbers. Octal numbers
consist of the digits a through 7 only. Decimal numbers consist of
the digits a through 9 followed by a decimal point. If a number
4-1
contains an 8 or 9 and is not followed by a decimal point, the N
error code (Chapter 10) will be printed and the number will be
interpreted as decimal. Negative numbers may be expressed as a
number preceded by a minus sign rather than in a two's complement
form. Positive numbers may be preceded by a plus sign although
this is not required.
AND OR
~ & ~ ~ ~ ~ ~
~ & 1 ~ ~ 1 =1
1 & ~ ~ 1 ~ 1
1 & 1 1 1 1 1
'A
4-2
When preceded by a quotation mark, two ASCII characters (not
in6luding null, rubout, carriage return, line feed, or form feed)
are assigned the 7-bit ASCII values of each of the characters to be
used. Each 7-bit value is stored in an 8-bit byte and the bytes
are combined to form a word. For example "AB will store the ASCII
value of A in the low-order (even) byte and the value of B in the
high-order (odd) byte:
I
high-order byte low-order byte
I
I
B's value I 1 2 I I ~ :A's value
,-A--..,...--A--. ,-A'-----,\(,.------A-----,~
~ l~~ ~~l ~~l ~~~
~ '-v--J '--y-J ~
~ 4 I l ~
or AB=,0411~1
4-3
1. Relocatable term, or
1. External term, or
Examples:
iABSOLUTE EXPRESSION
RELC-RELC
RELO-RELO
ABS+RELC-RELC&ABS
ABS+RELO-RELO!ABS
4-4
CHAPTER 5
The period (.) is the symbol for the assembly location counter.
When used in the operand field of an instruction, it represents the
address of the first word of the instruction. When used in the
operand field of an assembler directive, it represents the address of
the current byte or word. For example:
.=expression
Examples:
.ASECT
.=5~~ ;SET LOCATION COUNTER TO ABSOLUTE
;500
5-1
FIRST: MOV .+lO,COUNT iTHE LABEL FIRST HAS THE VALUE 500 8
i.+lO EQUALS 510 8 " THE CONTENTS OF
iTHE LOCATION 510 WILL BE DEPOSITED
8
iIN LOCATION COUNT.
SECOND: MOV . ,INDEX iTHE LABEL SECOND HAS THE VALUE 520 •
8
iTHE CONTENTS OF LOCATION 520 , THAT
8
iIS, THE BINARY CODE FOR THE INSTRUC-
iTION ITSELF, WILL BE DEPOSITED IN
i LOCATION INDEX .
. CSECT
.=.+20 iSET LOCATION COUNTER TO RELOCATABLE
i20 OF THE UNNAMED PROGRAM SECTION .
5-2
CHAPTER 6
6-1
CHAPTER 7
ADDRESSING
Examples:
R~ = %~ ; GENERAL REGISTER 0
Rl = R~+l ;GENERAL REGISTER 1
R2 = 1+%1 ;GENERAL REGISTER 2
7-1
The addressing specifications, A, may now be explained in terms
of E, R, and ER as defined above. Each will be illustrated with the
single operand instruction CLR or double operand instruction MOV.
Format: R
Example: RO=%O iDEFINE RO AS REGISTER 0
CLR RO jCLEAR REGISTER 0
Format: @R or (ER)
Example: CLR @Rl iCLEAR THE WORD AT THE
or ;ADDRESS CONTAINED IN
CLR (1) i REGISTER 1
Format: (ER)+
Examples: CLR (RO)+ iCLEAR WORDS AT ADDRESSES CON-
CLR (RO+3)+ iTAINED IN REGISTERS 0, 3 AND 2
CLR (2)+ iAND INCREMENT REGISTER CONTENTS
iBY TWO.
NOTE
Both JMP and JSR instructions using non-deferred
autoincrement mode, autoinorement the register
before its use.
7-2
In double operand instructions of the addressing
form %R, (R)+ or %R,-(R) where the source and des-
tination registers are the same, the source oper-
and is evaluated as the autoincremented or auto-
decremented valuei but the destination register,
at the time it is used, still contains the origi-
nally intended effective address. For example, if
Register 0 contains 100, the following occurs:
MOV RO, (0)+ iThe quantity 102 is moved
ito location 100
MOV RO,-(O) iThe quantity 76 is moved
ito location 76.
The use of these forms should be avoided, as they
are not guaranteed to remain in future PDP-II's.
The register contains the pointer to the address of the operand. The
contents of the register are incremented after being used.
Format: @(ER) +
Example: CLR. @(3)+ iCONTENTS OF REGISTER 3 POINT TO
iADDRESS OF WORD TO BE CLEARED
i BEFORE BEING INCREMENTED BY TWO.
7.5 AUTODECREMENT MODE
Forma t: - (ER)
Examples: CLR -(RO) iDECREMENT CONTENTS OF REGISTERS
CLR .... (RO+3) iO, 3, AND 2 BY TWO BEFORE USING
CLR -(2) iAS ADDRESSES OF WORDS TO BE
i CLEARED.
Format: @-(ER)
Example: CLR @-(2) iDECREMENT CONTENTS OF REG. 2 BY
iTWO BEFORE USING AS POINTER TO
iADDRESS OF WORD TO BE CLEARED.
7-3
7.7 INDEX MODE
Format: E (ER)
Examples:
CLR X+2 (Rl) iEFFECTIVE ADDRESS IS X+2 PLUS
;THE CONTENTS OF REGISTER 1.
Format: @E(ER)
Example: CLR @14(4) iIF REGISTER 4 HOLDS 100, AND
;LOCATION 114 HOLDS 2000, LOC.
;2000 IS CLEARED.
Format: #E
Examples:
MOV #100, RO iMOVE AN OCTAL 100 TO REGISTER 0
MOV iX, RO ;MOVE THE VALUE OF SYMBOL X TO
; REGISTER O.
7-4
The operation of this mode ~s explained as follows:
o 1 2 703
o 0 0 100
Just before this instruction is fetched and executed, the PC
points to the first word of the instruction. The processor fetches
the first word and increments the PC by two. The source operand
mode is 27 (autoincrement the PC). Thus the PC is used as a pointer
to fetch the operand (the second word of the instruction) before
being incremented by two, to point to the next instruction.
Format: E
Examples:
CLR 100 iCLEAR LOCATION 100
MOV X,Y iMOVE CONTENTS OF LOCATION X TO
iLOCATION y.
Location 20: o 1 6 7 0 3
Location 22 000 0 5 4
7-5
The processor fetches the MOV instruction and adds two to the PC
so that it points to location 22. The source operand mode is 67;
that is, indexed by the PC. To pick up the base, the processor
fetches the word pointed to by the PC and adds two to the PC.
The PC now points to location 24. To calculate the address of the
source operand, the base is added to the designated register. That
is, BASE+PC=54+24=lOO, the operand address.
7-6
E (ER) 6n Index
@E(ER) 7n Index deferred
#E 27 Immediate
@#E 37 Absolute memory reference
E 67 Relative
@E 77 Relative deferred reference
NOTES
1. An alternate form for @R is (ER). However, the
form @(ER) is equivalent to @O(ER).
7-7
The branch instructions are one word instructions. The high
byte contains the op code and the low byte contains an 8-bit signed
offset (7 bits plus sign) which.specifies the branch address rela-
tive to the pc. The hardware calculates the branch address as fol-
lows:
NOTE
It is illegal to branch to a location specified
as an external symbol, or to a 'relocatable symbol
when within an absolute section, or to an absolute
symbol or a relocatable symbol of another program
section when within a relocatable section.
The EMT and TRAP instructions do not use the low-order byte
of the word. This allows information to be transferred to the
trap handlers in the low-order byte. If EMT or TRAP is followed by
an expression, the value is put into the low-order byte of the word.
However, if the expression is too big (>377 ) it is truncated to
8
eight bits and a Truncation (T) error occurs.
7-8
CHAPTER 8
ASSEMBLER DIRECTIVES
8.1 .TITLE
8.2 .GLOBL
NOTE
8-1
8.3 PROGRAM SECTION DIRECTIVES
.ASECT
.CSECT
.CSECT symbol
8-2
.CSECT COMI iDECLARE SECTION COMI
A: 0 ;ASSEMBLED AT RELOCATABLE 0,
B: 0 iASSEMBLED AT RELOCATABLE 2,
C: 0 iASSEMBLED AT RELOCATABLE 4,
.CSECT COM2 iDECLARE SECTION COM2
X: 0 iASSEMBLED AT RELOCATABLE 0,
Y: 0 iASSEMBLED AT RELOCATABLE 2,
.CSECT COMI iRETURN TO COMI
D: 0 iASSEMBLED AT RELOCATABLE 6,
.END
A: .ASECT
8-3
Note that this is not necessary when making a reference to an
absolute section (the Assembler knows all load addresses of an
absolute section).
Examples:
.ASECT
.=1000
A: CLR X iASSEMBLED AS CLR BASE OF UNNAMED
RELOCATABLE SECTION + 10
JMP Y iASSEMBLED AS JMP BASE OF UNNAMED
RELOCATABLE SECTION + 6
.CSECT
MOV RO,Rl
JMP A ;ASSEMBLED AS JMP 1000
Y: HALT
X: o
.END
8-4
Also, there is no conflict between program section names and
.GLOBL names. In FORTRAN language, COMMON block names and SUB-
ROUTINE names may be the same.
8.4 .EOT
8.5 . EVEN
8.6 .END
The .END directive indicates the physical end of the source pro-
gram. The .END directive may .be followed by only one operand, an
expression indicating the program's transfer address.
At load time, the load module will be loaded and program ex-
ecution will begin at the transfer address indicated by the .END
directive. If the address is not specified, the loader will halt
after reading in the load module.
8.7 . WORD
8-5
·=1420
SAL=O
.WORD l77535,.+4,SAL iSTORED IN WORDS 1420, 1422, AND
;1424 WILL BE 177535, 1426, AND O.
8-6
8.8 • BYTE
The .BYTE assembler directive may have one or more operands separ-
ated by commas. Each operand is stored in a byte of the object
program. If multiple operands are specified, they are stored in
successive bytes. The operands may be any legally formed expression
with a result of 8 bits or less. For example:
8.9 .ASCII
8-7
8.10 .RAD50
The single operand is of the form IccCI where the slash (the delimiter)
can be any printable character except for and The de-
limiters enclose the characters to be converted which may be
A through Z, 0 through 9, dollar ($), dot (.) and space ( ).
If there are fewer than 3 characters they are considered to be
left justified and trailing spaces are assumed.
Examples:
RESULT=«Cl*50)+C2)*50+C3
8-8
8.11 .LIMIT
.IFZ E IF E=O
.IFNZ E IF E~O
.IFL E IF E<O
.IFLE E IF E<O
.IFG E IF E>O
.IFGE E IF E>O
.IFDF S (1) [! , &] S (2) [! , &] .:-. [ ! , &] S (N) ( ! =OR, &=AND)
.IFNDF S (1) [ ! , &] S (2) [! ,&] ..• [ ! , &] S (N)
In the above, .IFDF and .IFNDF mean "if defined" and "if un-
defined" respectively. The scan is left to right, no parentheses
permitted.
Example:
.IFDF S!T&U Means assemble if either S or T is defined
and U is defined
.IFNDF T&U!S Means assemble if both T and U are undefined
or if S is undefined
8-9
General Remarks:
.IFZ 1
A: . ENDC
A is ignored.
A: • IFZ 1
. EN DC
8-10
CHAPTER 9
OPERATING PROCEDURES
PAL-IIR is loaded via the Disk Monitor command RUN. For example:
RUN PALIIR
PALIIR V002A
#
The user must now type his command string on the same line as the
#•
If an error is made in typing at any time, typing the RUBOUT
key will erase the immediately preceding character if it is on the
current line. Typing CTRL/U will erase the entire line.
9-1
# Binary, Listing, Symbol Table < Source 1, Source 2
A null specification field signifies that the associated input or out-
put type is not desired. Each specification contains the following
information:
dev:filnam.ext[uic]/PASS:value/TAPES:value
Error Code
9-2
Source 1 and Source 2 cannot both be associated with the same unit file
device such as the paper tape reader. This will result in a Monitor
error.
1. #PP:,LP:,LP:<PR:/TAPES:5
All passes of the assembly will terminate either when a) the
.END directive is encountered or b) five tapes have been in-
put from the reader.
2. #PP:,LP:<PR:
All passes of the assembly will terminate when one tape has
been input from the reader.
3. #PP:<PR:/PASS:l/TAPES:2,DTl:FILE
Two parameter tapes will be input from the reader during
pass 1 only. All passes of the assembly will terminate
either when a) the .END directive is encountered or b) the
source file FILE.PAL has been input from DTI.
4. #PP:<DTl:PARAM/PASS:1,PR:/TA:4
One parameter file, PARAM.PAL, will be input from DTI during
pass 1 only. All passes of the assembly will terminate
either when a) the .END directive is encountered or b) four
tapes have been input from the reader.
9-3
The 37 switch is recognized in all the fields of PAL-IIR's command
string. Its presence directs the Assembler to assemble all relative
addresses (address mode 67) as absolute addresses (address mode 37).
#PP:,LP:/37<DTl:FILE
Note that DOS only allows one output file to be open on a DECtape
at a time. The Assembler loosens this restriction by:
9-4
This command causes the input file TEST. PAL on DFO to be
assembled with no binary outout, listing output, TEST.LST
to DTAl during pass 2 and symbol table output, TEST.SYM to
DTAI at the end of pass 2.
SYMBOL :% _ _ _ _ _ _ R G
~\
'--y----/
assignment~
If direct v
value
'] L. oCSECT ID
If register tf
relocatable
If oGLOBL
The .CSECT 10 field is left blank for .ASECT symbols and un-
named .CSECT symbols as they can be identified by the absence or
presence of the R, respectively.
FIRST
SECOND
9-5
PASS 1: Assembler creates a table of user-defined symbols and
their associated values to be used in assembling the
source to object program. Undefined symbols (not in-
cluding external .GLOBL's) are listed on the command
output device at the end of the pass. The symbol
table is also output at this time.
At the end of each pass (except the last) when the .END
assembly directive is encountered, END is output to the command
device. For file structured input devices, the next pass is auto-
matically begun. For non-file structured input devices, e.g., paper
tape reader, the Disk Operating System will announce that the reader
must be reloaded prior to continuing:
A002 063320
$
9-6
This continuing from device-not-ready is also applicable when .EOT
is encountered during multiple tape assemblies and when any I/O
device requires servicing for such purposes as:
RESTART capability:
EELLLLLL·OOOOOOASSS .•.•••. S
000000
000000
The E's represent the error field. The L's represent the address.
The O's represent the object data in octal. The SiS represent the
source statement. The A represents an apostrophe which indicates
that either the second, third, or both words of the instruction are
to be modified by the Linker.
9-7
The above represent a three-word statement. The second and
third words of the statement are listed under the command word.
No addresses precede the second and third words since the address
order is sequential.
9-8
mode information and relative addresses for entry points, and section
sizes for program section names. The name of the object module is
also in the GSD.
Text and RLD blocks are constructed during the binary object
pass. Outputting of each block is done whenever either the Text
or RLD buffer is full and whenever the location counter needs
to be modified.
9-9
CHAPTER 10
ERROR CODES
The error codes printed beside the octal and symbolic code in
the assembly listing have the following meanings:
10-1
APPENDIX A
EVEN 7-BIT
PARITY OCTAL
BIT CODE CHARACTER REMARKS
A-1
EVEN 7-BIT
PARITY OCTAL
BIT CODE CHARACTER
0 167 w
0 170 x
1 171 Y
1 172 z
0 173 {
1 174 I
A-4
APPENDIX B
Character Function
Label terminator
Logical OR operator
B-1
B.2 ADDRESS MODE SYNTAX
Address Address
Mode Mode
Format Name Number Meaning
B-2
B.3 INSTRUCTIONS
The instructions which follow are grouped according to the operands they
take and the bit patterns of their op-codes.
( ) Contents of
Becomes
The condition codes in the processor status word (PS) are affected by
the instructions. These condition codes are represented as follows:
* Conditionally set
Not affected
o Cleared
1 Set
B-3
To set conditionally means to use the instruction's result to deter-
mine the state of the code (see the PDP-ll Handbook).
Inclusive OR
Exclusive OR
& AND
B-4
Status Word
Condition Codes
°E-Code Mh~moni,g Stands for °Eeration N f V C
h * * * *
lO60DD RORB ROtate Right even or odd byte
Byte r? h * * * *
~ ~'b
Shift Right 0
0 * * * *
t
• 7
I
l'
0
I * * 0 0
B-5
B.3.4 0Eerate Instructions Op
Status Word
Condition Codes
°E-Code Mnemonic Stands for °Eeration N Z Y C
000000 HALT HALT The computer stops all
functions.
B-6
B.3.5 Trap Instructions Op or Op E where 05..E5..3778
*Op (only)
Status Word
Condition Codes
Op-Code Mnemonic Stands for °Eeration N Z V C
*000003 (none) (breakpoint Trap to location 14. This * * *
trap) is used to call OOT.
*
*000004 lOT Input/Out- Trap to location 20. This * * * *
put. Trap is used to call lOX.
104000- EMT EMulator Trap to location 30. This
104377 Trap is used to call system pro-
* * * *
grams.
104400 TRAP TRAP Trap to location 34. This *
104777 is used to call any routine
* * *
desired by the programmer.
Condition to be met if
°E-Code Mnemonic Stands for branch is to occur
B-8
Mnemonic Operand Stands For Operation
.IFZ E IF E=O Assemble what follows up to
the terminating .ENDC if the
expression E is o.
B-9
Error Code Meaning
B-IO
APPENDIX C
The load module of the Overlay Builder must now be executed via
the Monitor command RUN. It will produce a contiguous file,
PALLllR.OVR, on DF~l with User Identification Code [l,lJ. Monitor
commands CTRL/C BEGIN or CTRL/C RESTART will abort the build process
and automatically begin it again. When the building is done, control
will return to the monitor.
The size of each overlay on the overlay device and the size of the
IThe file· specifier and device may be changed with the Monitor command
ASSIGN on logical dataset·OVR prior to issuing the RUN command.
C-l
overlay area in core is currently 512 decimal words. This size was
chosen after examination of the segmentable sections of th,e Assembler
and their relationships to each other.
OVERLAY #1
Assembler Initialization
CSI Interface
CTRL/C RESTART handler
OVERLAY #2
.CSECT assembler directive
.ASECT" "
.GLOBL" "
.TITLE" "
.LIMIT" "
GSD (Global Symbol Directory) Output
Linear Search Routine (used by .CSECT and
GSD Output routine)
OVERLAY #3
.END assembler directive
Conditional assembler directives
Symbol Table Lister
OVERLAY #4
.ASCII assembler directive
.BYTE " "
.RAD5,0 " "
.WORD " "
Direct Assignment processor
PASS Initialization
OVERLAY #5
GET INPUT LINE ROUTINE
STATEMENT EVALUATOR
LABEL FIELD PROCESSOR
INSTRUCTION PROCESSORS
PHYSICAL END OF INPUT (EOD) PROCESSOR
The user can organize his source code to cut down on the number of
overlay transfers needed to accomplish his assembly.
He should gather all his executable code into one area because
once OVERLAY #5 is loaded into core to process source lines restricted
to labels and instructions it will remain in core until one of the
following occurs:
C-2
3. a direct assignment statement is encountered
e. g. , A=l~~
.=.+6~
The load module of the Assembler and the Permanent Symbol Table should
be given the file name:
PALllR
PALSYM must be the first object module input to the Linker and PALllR
the second. This order allows for assembly time core utilization as
illustrated by the memory map on the following page.
C-3
ASSEMBLER
(Object Module 2)
PALllR
~----------.------~ PERBOT
Permanent increas ing
1
Ordered to permit{
binary searching. Symbols order
(4 words/entry) (Object Module 1)
PALSYM
Unnamed PERTOP
Not ordered (4
words/entry)
{
Ordered to permit{
Control Section
- Control -
Sections
CONTOP
When a Control Sec-
tion or a user symbol
entry is made the
binary searching.
User I increasing} User Symbols ~re ad-
(4 words/entry)
Symbols t order justed downwards.
~~--------------~ USRTOP
The PST is ordered (to permit binary searching) with the small-
est symbol (in Radix50 packed notation) high in core and the
largest symbol (in Radix50 packed notation) low in core.
C-4
A thru Z 1 thru 32 respectively
$ 33
34
o thru 9 36 thru 47 respectively
Flags:
ASMDIR=lO Bit 3 being on in the flag
Byte indicates that this PST
entry is an assembler directive.
BYTFLG=l Bit 0 being on in the .flag
Byte indicates that this PST
entry is byte enabled. This
allows one entry to satisfy
searches for word and byte
instructions. E.G. the entry
'MOV', because bit 0 is on,
will satisfy ·searches for
'MOV' or 'MOVB'
Instruction Class:
Bits 4-7 of the flag byte designate the
type of instruction to provide dispatch
information to PAL-IIR.
SCLASO=O Operate group
SCI.ASI=20 Unary group
SCLAS2=40 Binary group
SCLAS3=60 RTS
SCLAS4=IOO Branch group
SCLAS5=120 JSR
SCLAS6=140 TRAP group
C-5
A listing of the Permanent Symbol Table follows.
.EVEN
SYMT8T: ,WORD 0 .1ST REGISTE~ BELOW PST,
,WORD 131247 J .WORD
.WORD 070440
.WORD WORD
.WORD ASMDIR
.WORO 131051 J .TITLE
,WORD 077345
.WORD TITLE
.WORD ASMOIR
.WORD 130721 J .RA05e1
,WORD 017226
.WORD RA050
.WORD ASMDIR
.WORD 130351 J .LIMIT
,WORD 051274
.WORD LIMIT
.WORD ASMDIR
.WORD 130156 J ,IF'~
.WORD 121200
.WORO IFf.
,wORn ASMDIR
C-6
.WORD 130156 J .IF'OF'
• \fJORD 014760
• WORO I FOF .
.WORD ASMDIR
,WORD 130044 J ,GLOBL
.WORD 057034
.WORD GL08L
.WORD AS~1D IR
.WORD 107761 J WA IT
.\NORD 07640f~
,WORD 0000«'1
• WOFH) SCLASb
.WORD 100014 IT,T
.wORD 21
.i-iORD 005700
,WORn SCLAS1+8 YTFLG
C-7
.WORD 077721 JTRAP
.WOqO ~6200.0
.WORD 104400
.WORD SCLAS6
,WORn "'75131 iSWAB
,WORD 006200
.WORD 000300
,WORI') SCLASl
.WORD 075012 JSUB
.WORD 0
,WORD 160000
,WORD SCLAS2
.WORD 073642 JSEt
.WORO 0
,WORD 000264
.WORD SCLAS0
.WORD 073636 JSEV
.WORD 0
.WORD 000262
,wORD SCLAS0
,WORD 073626 .SEN
.WORD 0
.WORD 000270
,WORD SCLAS0
.WORD 073613 .SEC
.WORD 0
,WORD 000261
.WORD SCLAS0
.WORD 073473 .sec
.WORD 0
.WORD 000277
,WORD SCLAS0
.WORD 073423 .sec
.WORD
.WORD
,WORD
"SCLAS1+BYTF'LG
005600
c-8
.WORD 071344 JROL
.WORD 0
,WORD 0121610121
,WORD SCI...AS1+BVTF'LG
.WORD 070533 JRESET
.WORD 021140
,WORD 0001210.5
.WORD SCLAS0
C-9
• vJORI1 (~12445 .COM
,WORG 0
.~nRr: eHC 51 k~ 0
• WOFHJ SCLAS1+8YTFlG
.wO~D ~12412 JCN~
.WORD 0
,wORD ~00254
.WORD SCLAS0
.WORD el1233~ JCMP
.WORD 0
• v4QRD ~2000e
,WORD SClAS2+8YTF"LG
,WORD ;;,12272 Jell!
.l.\OR[J 0
,WORD 00Q1244
, WORr; SCLAS~
C-IO
,WORD 007414 ,aPL
.WORD 0
.WORD 112l0~HH1
.WORD SCl..AS4
,wORD 007265 iBNE
.WORD 0
.WORD 001000
,WORD SCLAS4
,WORD 0"7221 J 8M t
.WORO 0
.WORD 100400
.wORD SCLAS4
.WORD 007164 JeLT
.WORD ;;1
• w'ORD 002400
.WORD SCLA54
.WoRD 0~7157 J8L.OS
• lA:OiHJ ;~73300
• w0 ~~ D 101400
.wORD SCLAS4
.WORD 103400
.WORD SCLAS4
• \.JOR[) 006"111 ; RH I
.WORD ;~
.WORD 10H100
.WORD SCLAS4
C-ll
.iAlfJqD JBGT
• WOFH)
• WOf~O ,,1030::1\0
• \AI or~ D SCLAS4
.~jor-?IJ 006635 JBGE
.wORD
.~;OH[1 ~10 2 0 (0 0
• wOf~ D SCLAS4
,WORD ~10 6531 J8[Q
.WORD 11
• wORt) 001400
,WORI) SCLAS4
C-12
INDEX
Starting, 9-1
Fields, statement, 2-1, 4-1, 5-1 Symbol tables, 3-1, 8-10, 9-1,
7-7, 8-1, 8-5 9-5
Formatting, 2-4 Symbols, 3-1, 6-1, 8-1
absolute, 3-2, 4-3, 6-1, 7-8
direct assignment, 3-2, 5-1,9-8
Global symbols, see Symbols entry point, 3-2, 8-1
external, 3-2, 4-3, 5-1, 6-1,
7-8, 8-1
Instruction formats, 7-7 global, 1-1, 3-2, 4-1, 8-1,
Internal symbols, see Symbols 9-8
internal, 3-2, 8-4
labels, 2-2, 8-1, 8-3
Labels, 2-2, 8-1, 8-3 permanent, 3-1, 4-1, 4-3
Listing, 9-7 register, 3-3
Load module, 1-1, 6-1, 8-5 relocatable, 3-2, 4-1, 4-3,
Loading, 9-1 6-1, 7-8
Location counter, 2-2, 4-1, 5-1, user-defined, 3-1, 9-1
7-6, 7-7, 8-2, 8-5
Terminators, 2-1, 2-3, 8-10
X-I
HOW TO OBTAIN SOFTWARE INFORMATION
These newsletters contain information appl icable to software avai lable from
Digitalis Program Library, Articles in Digital Software News update the
cumulative Software Performance Summary which is contained in each basic
kit of system software for new computers. To assure that the monthly Digital
Software News is sent to the appropriate software contact at your insta Ilation,
please check with the Software Specialist or Sales Engineer at your nearest
D igita I office.
These forms which are provided in the software kit should be fully filled out
and accompanied by teletype output as well as listings or tapes of the user
program to facilitate a complete investigation. An answer will be sent to the
individual and appropriate topics of general interest will be printed in the
newsletter.
Orders for new and revised software and manuals, additional Software Per-
formance Report forms, and software price Iists should be directed to the
nearest Digital Field office or representative. U.S.A. customers may order
directly from the Pro~rom Library in Maynard. When ordering, include the
code number and a brief description of the software requested.
DECUS
Digital Equipment Corporation
146 Main Street, Bldg. 3-5
Maynard, Massachusetts 01754
PDP-ll PAL-llR Assembler
Programmer's Manual
DEC-ll.--AS DB - D
May 1971
READER'S COMMENTS
Digital Equipment Corporation maintains a continuous effort to improve the quality and usefulness
of its publications. To do this effectively we need user feedback -- your critical evaluation of
this manual.
Please comment on this manual's completeness, accuracy. organization, usability and read-
ability.
Other comments?
FIRST CLASS
PERMIT NO. 33
MAYNARD. MASS.
momoama
Digital Equipment Corporation
Software Information Services
146 Main Street, Bldg. 3-5
Maynard, Massachusetts 01754