Freescale M68SMASMAB Assembly language toolset for microcontroller Datasheet

Freescale Semiconductor, Inc.
Order this document
by M68SMASM/D
M68SMASM
Product Profile
Freescale Semiconductor, Inc...
Assembly Language Toolset for
Microcontrollers
Motorola offers an assembly language development toolset that supports the M68HC05,
M68HC08, M68HC11 and M68HC16 microcontrollers. These tools provide a path to higher performance while maintaining compatibility with existing software and systems. The tools include: an assembler (masm), linker (ld), Motorola S-record generator (hex), assembly language converter
(i2m), symbol table dump utility (nm), map file generator (mlst2map), conversion utility to support
the CDS805 (coff2cds), and symbol table reduction tool (strip). This toolset operates under DOS on
IBM PC and 100% compatible machines which contain an Intel 80386 or higher microprocessor.
Features include:
• Relocatable or absolute object modules
• Switch selectable processor support
• Full instruction sets
• Common syntax and extended instructions to ease upward migration
• All available addressing modes
• Full macro capability with nesting
• Include file support that allows nested include files
• Linking of multiple source files
• Optimization of long and short branches
• Generation of Motorola S-records
• 128 character symbol names
• Partial linking
• Common Object File Format
• User-controlled assembly listings
• Cross reference listings
• Symbol table listings
• User-selectable case sensitive labels
• Motorola’s Assembly Language Input standard is based on MASM
• Works with existing CDS805 hardware and software
• Works with existing MMDS05, MMDS08 and MMDS11 hardware and software and will work
with planned upgrades
• User-selectable option to minimize the size of the symbol table to decrease download time
• Absolute listings available after relocation
• Creation of map files
.
© MOTOROLA INC., 1994
For More Information On This Product,
Go to: www.freescale.com
Freescale Semiconductor, Inc.
The Assembly Language Development Toolset comes in a shrink-wrapped package that includes:
• User’s Manual
• Release Guide
• License Agreement
• One 3.5 inch DSHD disk (1.44 Mbyte)
Freescale Semiconductor, Inc...
The release guide includes phone and fax numbers and an Internet address for technical support.
Software
Many controller applications are severely limited by the cost of additional memory components or
by timing constraints, therefore, they cannot take advantage of the benefits offered by high-level
languages. Other applications which use high-level languages often need the speed, access to special instructions, and unique memory optimizations that are available only through low-level languages, such as Motorola’s macro assembler. This toolset provides capabilities to engineer
solutions to these problems.
ASSEMBLY
SOURCE FILES
ASSEMBLER
EXECUTABLE
OBJECT FILE
RELOCATABLE
OBJECT MODULES
LINKER
EXECUTABLE
OBJECT FILE
S-RECORD
GENERATOR
EPROM, EVB, EVS,
ICD16
COFF 2 CDS
MMDS05,08,11
CDS805
Development Flow
MOTOROLA
2
For More Information On This Product,
Go to: www.freescale.com
M68SMASM
M68SMASM/D
Freescale Semiconductor, Inc.
These tools place few restrictions on the application. Some examples of the freedom allowed are:
symbol names up to 128 characters, 32 Kbyte symbols per source file, 256 sections, nested macros
and nested include files to 256 levels, and evaluation of all expressions using 32-bit arithmetic.
With the linker, a user arranges program sections to fit into physical memory. Sections can be contained in one or more files facilitating rapid development and debugging. A user-defined directive
file instructs the linker where to place these sections. Additionally, the linker supports solutions to
more advanced problems, such as, partial linking and source level debugging.
Individual microcontroller instruction sets and addressing modes are optimized for high performance. Motorola’s macro assembler supports the instruction sets of all our controllers with a common syntax and with language extensions that ease the upward migration path without sacrificing
any of the speed or efficient memory utilization benefits that assembly language provides.
Freescale Semiconductor, Inc...
ASSEMBLER DIRECTIVES
Assembly Control
Macros and Conditional Assembly
BASE
END
FAIL
INCLUDE
ORG
ELSEC
ENDC
ENDM
IFcc
MACRO
MEXIT
— Sets default number base
— End of source program
— User generated warning or error
— Include secondary file
— Sets location counter
— Assemble when IFcc is false
— End conditional assembly
— End macro definition
— Conditional assembly
— Macro definition
— Exit macro
Data Definition/Storage Allocation
Symbol Definition
ALIGN
DC
DCB
DS
EVEN
LONGEVEN
EQU
SECTION
SET
XDEF
XREF
XREFB
— Aligns data or code in memory
— Allocates initialized storage
— Allocates initialized memory block
— Reserves uninitialized memory
— Align to next word address
— Align to next longword address
— Equate symbol to a value
— Start section
— Set symbol to a value
— External symbol definition
— External symbol reference
— External byte reference
Listing Control and Options
CLIST
LIST
LLEN
MLIST
NOLIST
NOPAGE
PAGE
PLEN
SPC
TABS
TTL
— Controls conditional assembly listing
— List the assembly
— Sets length of listing line
— Controls macro listing
— Stop assembly listing
— Disables pagination in listing
— Advance to next page
— Sets page length
— Insert blank lines in listing
— Sets the tab length
— Sets the title
M68SMASM
M68SMASM/D
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
3
Freescale Semiconductor, Inc...
Host Requirements
• This version of the MASM Toolset is intended for use on IBM PCs which contain an Intel
80386 (or higher) microprocessor running DOS 5.0 or higher. 100% compatible systems may
be used as well. 640 Kbyte of conventional memory is required. Extended memory is recommended. 2 Mbyte of disk storage are needed to install the complete toolset.
Technical Support Information
• Telephone Support:
• FAX Number:
• Internet Address:
512-891-6276
512-891-2720
[email protected]
Ordering Information
Motorola’s assembly language development toolset can be obtained through a local Motorola Semiconductor Sales Office or authorized dealer.
PRODUCT
HOST
PART NUMBERS
MASM
IBM PC
M68SMASMAB
RoHS-compliant and/or Pb- free versions of Freescale products have the functionality
and electrical characteristics of their non-RoHS-compliant and/or non-Pb- free
counterparts. For further information, see http://www.freescale.com or contact your
Freescale sales representative.
For information on Freescale.s Environmental Products program, go to
http://www.freescale.com/epp.
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice to
any products herein. Freescale Semiconductor makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor assume any liability arising out of the application or use of
any product or circuit, and specifically disclaims any and all liability, including without
limitation consequential or incidental damages. “Typical” parameters which may be
provided in Freescale Semiconductor data sheets and/or specifications can and do
vary in different applications and actual performance may vary over time. All operating
parameters, including “Typicals” must be validated for each customer application by
customer’s technical experts. Freescale Semiconductor does not convey any license
under its patent rights nor the rights of others. Freescale Semiconductor products are
not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life,
Motorola reserves the right to make changes without further notice to any productsor
herein.
makes noinwarranty,
or guarantee
regarding the
suitability
for anyMotorola
other application
which therepresentation
failure of the Freescale
Semiconductor
product
couldout
create
situation where
personal
injury orordeath
may
Shoulddisclaims
Buyer any and
of its products for any particular purpose, nor does Motorola assume any liability arising
of thea application
or use
of any product
circuit,
andoccur.
specifically
purchase
or use
Freescale
Semiconductor
products for any
such unintended
or including
all liability, including without limitation consequential or incidental damages. "Typical"
parameters
can
and do vary
in different applications.
All operating
parameters,
unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor
"Typicals" must be validated for each customer application by customer's technical experts.
Motorolaemployees,
does not convey
any license
underand
its patent
rightsharmless
nor the rights
of others.
and its officers,
subsidiaries,
affiliates,
distributors
against
all
Motorola products are not designed, intended, or authorized for use as components
in systems
surgical
implant
the body,attorney
or otherfees
applications
to
claims,
costs, intended
damages,for
and
expenses,
andinto
reasonable
arising outintended
of,
directly
or could
indirectly,
any
of personal
injury orinjury
deathorassociated
such
support or sustain life, or for any other application in which the failure of the Motorola
product
create
a claim
situation
where personal
death maywith
occur.
Should Buyer
unintended
unauthorized
use, hold
evenMotorola
if such claim
alleges
thatemployees,
Freescale subsidiaries, afpurchase or use Motorola products for any such unintended or unauthorized application,
Buyeror
shall
indemnify and
and its
officers,
Semiconductor was negligent regarding the design or manufacture of the part.
filiates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury
or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part.
M O T O R O L A and
! are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
Home Page:
www.freescale.com
email:
[email protected]
USA/Europe or Locations Not Listed:
Freescale Semiconductor
Technical Information Center, CH370
1300 N. Alma School Road
Chandler, Arizona 85224
(800) 521-6274
480-768-2130
[email protected]
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
[email protected]
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku
Tokyo 153-0064, Japan
0120 191014
+81 2666 8080
[email protected]
Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd.
Technical Information Center
2 Dai King Street
Tai Po Industrial Estate,
Tai Po, N.T., Hong Kong
+800 2666 8080
[email protected]
For Literature Requests Only:
Freescale Semiconductor
Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
(800) 441-2447
303-675-2140
Fax: 303-675-2150
LDCForFreescaleSemiconductor
@hibbertgroup.com
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no express or
implied copyright licenses granted hereunder to design or fabricate any integrated
circuits or integrated circuits based on the information in this document.
Freescale Semiconductor reserves the right to make changes without further notice to
any products herein. Freescale Semiconductor makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does
Freescale Semiconductor assume any liability arising out of the application or use of
any product or circuit, and specifically disclaims any and all liability, including without
limitation consequential or incidental damages. “Typical” parameters which may be
provided in Freescale Semiconductor data sheets and/or specifications can and do
vary in different applications and actual performance may vary over time. All operating
parameters, including “Typicals” must be validated for each customer application by
customer’s technical experts. Freescale Semiconductor does not convey any license
under its patent rights nor the rights of others. Freescale Semiconductor products are
not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life,
or for any other application in which the failure of the Freescale Semiconductor product
could create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended or
unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor
and its officers, employees, subsidiaries, affiliates, and distributors harmless against all
claims, costs, damages, and expenses, and reasonable attorney fees arising out of,
directly or indirectly, any claim of personal injury or death associated with such
unintended or unauthorized use, even if such claim alleges that Freescale
Semiconductor was negligent regarding the design or manufacture of the part.
For More Information On This Product,
Go to: www.freescale.com
M68SMASM
M68SMASM/D
Similar pages