Text preview for : 070-3856-00_Assembler_Core_Users_Manual_Feb82.pdf part of Tektronix 070-3856-00_Assembler_Core_Users_Manual_Feb82 Tektronix 85xx 856x 070-3856-00_Assembler_Core_Users_Manual_Feb82.pdf



Back to : 070-3856-00_Assembler_Cor | Home

8500
MODULAR MDL SERIES

ASSEMBLER
CORE USERS MANUAL
for B Series Assemblers
COMMITTED TO EXCELLENCE




This manual supports the This manual supports the following software
following TEKTRONIX products: modules:

8550 8560 TE KT RON I X B Series Assembler V 01 (8550)
Options Products Options Products TE KT RON I X B Series Linker V 01 (8550)
TEKTRONIX B Series LibGen V 01 (8550)
1T 8300B15 1A 8560B01 TE KT RON I X B Series Assem blerV 01 (8560)
1U 8300B20 1B 8560B02 TEKTRONIX B Series Linker V 01 (8560)
1V 8300B26 1C 8560B04 TEKTRONIX B Series LibGen V01 (8560)
1G 8560B10
1J 8560B15 These modules are compatible with:
1K 8560B16
1L 8560B17 DOS/50 V 02 (8550)
1M 8560B18 TN IX V 01 (8560)




PLEASE CHECK FOR CHANGE INFORMATION
AT THE REAR OF THIS MANUAL.




8500
MODULAR MOL SERIES

ASSEMBLER
CORE USERS MANUAL
for B Series Assemblers




Tektronix, Inc.
P.O. Box 500
Beaverton, Oregon 97077 Serial Number - - - - - - - - - -
070-3856-00 First Printing AUG 1981
Product Group 61 Revised FEB 1982
LIMITED RIGHTS LEGEND
Software License No. _ _ _ _ _ _ _ _ _ _ _ _ __

Contractor: Tektronix, Inc.
Explanation of Limited Rights Data Identification Method
Used: Entire document subject to limited rights.

Those portions of this technical data indicated as limited rights data shall not,
without the written permission of the above Tektronix, be either (a) used,
released or disclosed in whole or in part outside the Customer,.(b) used in whole
or in part by the Customer for manufacture or, in the case of computer software
documentation, for preparing the same or similar computer software, or~c)used
by a party other than the Customer, except for: (i) emergency repair or overhaul
work only, by or for the Customer, where the item or process concerned is not
otherwise reasonably available to enable timely performance of the work,
provided that the release or disclosure hereof outside the Customer shall be
made subject to a prohibition against further use, release or disclosure; or (ii)
release to a foreign government, as the interest of the United States may
require, only for information or evaluation within such government or for
emergency repair or overhaul work by or for such government under the
conditions of (i) above. This legend, together with the indications of the portions
of this data which are subject to such limitations shall be included on any
reproduction hereof which includes any part of the portions subject to such
limitations.



RESTRICTED RIGHTS IN SOFTWARE

The software described in this document is licensed software and subject to
restricted rights. The software may be used with the computer for which or with
which it was acquired. The software may be used with a backup computer if the
computer for which or with which it was acquired is inoperative. The software
may be copied for archive or backup purposes. The software may be modified or
combi ned with other software, subject to the provision that those portions of the
derivative software incorporating restricted rights software are subject to the
same restricted rights.


Copyright (01981 Tektronix, Inc. All rights reserved. Contents of this publication
may not be reproduced in any form without the written permission of Tektronix,
Inc.

Products of Tektronix, Inc. and its subsidiaries are covered by U.S. and foreign
potents and/or pendi ng patents.

TEKTRONIX, TEK, SCOPE-MOBILE, and if
are registered trademarks of
Tektronix, Inc TELEOUIPMENT is a registered trademork of Tektronix U.K.
Limited.

Printed in U.S.A. Specification and price change privileges are reserved.
8500 Series B Assembler Core Users




CONTENTS

SECTION 1. LEARNING GUIDE Page
Introduction ....................................................................... 1-1
About This Manual Package ........................................................ 1-1
System Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1-3
Assembler Features ............................................................... 1-4
Linker Features .................................................................... 1-5
Library Generator Features ......................................................... 1-5
Syntax Notation ................................................................... 1-5
Introduction ..................................................................... 1-5
Command Name ................................................................. 1-6
Parameters ..................................................................... 1-6
For Continued Learning ............................................................ 1-7



SECTION 2. THE ASSEMBLER
Introduction ....................................................................... 2-1
Assembler Invocation .............................................................. 2-1
Assembler Input ................................................................... 2-2
Introduction ..............' ....................................................... 2-2
Statement Fields ................................................................ 2-3
Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-7
Values .......................................................................... 2-9
Text Substitution ............................................................... 2-12
Expressions ....................................................... '............. 2-13
Functions ...................................................................... 2-21
Assembler Execution ............................................................. 2-36
Two Passes .................................................................... 2-36
Forward Referencing ............................................................ 2-36
Execution Sequence ............................................................ 2-36
Assembler Output ................................................................ 2-37
Object Module ................................................................. 2-37
Assembler Listi ng .............................................................. 2 -37
Sample Source Program ........................................................ 2-44




@
Contents-8500 Series B Assembler Core Users




Page
SECTION 3. ASSEMBLER DIRECTIVES
Introduction ....................................................................... 3-1
The Assembler Directive Dictionary ................................................. 3-3



SECTION 4. MACROS
Introduction ....................................................................... 4-1
Macro Expansion Process .......................................................... 4-1
Macro Definition .................................................................. 4-2
The MACRO Directive ............................................................ 4-2
The Macro Body ................................................................. 4-3
Macro Body Operators ........................................................... 4-3
The ENDM Directive ............................................................. 4-6
The EXITM Directive ............................................................. 4-6
Macro Invocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-7
Parameters ..................................................................... 4-7
Macro Parameter Conventions .................................................... 4-7
Macro Examples ................................................................ 4-10



SECTION 5. THE LINKER
Introduction ....................................................................... 5-1
Linker Invocation .................................................................. 5-1
Explanation ..................................................................... 5-5
Command Options ............................................................... 5-5
Examples ...................................................................... 5-15
Linker Execution .................................................................. 5-16
Section Attributes ................... '........................................... 5-16
Allocation of Sections ........................................................... 5-18
ENDREL ....................................................................... 5-19
Linking a Library File ........................................................... 5-19
Typechecking ................................................................... 5-20
Linker Completion Condition ..................................................... 5-20
Linker Output .................................................................... 5-21
Listing File ..................................................................... 5-21




ii @