2 CROSS ASSEMBLER ASM6011
E0C6011 DEVELOPMENT TOOL MANUAL
EPSON
5
2.3 ASM6011 Quick Reference
■
Starting command and input/output files
Execution file:
ASM6011.EXE
Starting command:
ASM6011_ [drive-name:] source-file-name [.shp]_ [-N]
Option:
.shp
Specifies the file I/O drives.
s
Specifies the drive from which the source file is to be input. (A–P, @)
h
Specifies the drive to which the object file is to be output. (A–P, @, Z)
p
Specifies the drive to which the assembly listing file is to be output. (A–P, @, Z)
@: Current drive, Z: File is not generated
-N
The code (FFH) in the undefined area of program memory is not created.
Input file:
C011XXX.DAT
(Source file)
Output file:
C011XXXL.HEX
(Object file, low-order)
C011XXXH.HEX
(Object file, high-order)
C011XXX.PRN
(Assembly listing file)
■
Display example
_ indicates a blank.
indicates the Return key.
A parameter enclosed by [ ] can be omitted.
*** E0C6011 CROSS ASSEMBLER. --- Ver 1.00 ***
EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN
EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN
EEE PPP PPP SSS SSS OOO OOO NNNNN NNN
EEE PPP PPP SSS OOO OOO NNNNNN NNN
EEEEEEEEEE PPPPPPPPPP SSSSSS OOO OOO NNN NNN NNN
EEEEEEEEEE PPPPPPPP SSSS OOO OOO NNN NNNNNN
EEE PPP SSS OOO OOO NNN NNNNN
EEE PPP SSS SSS OOO OOO NNN NNNN
EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN
EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN
(C) COPYRIGHT 1999 SEIKO EPSON CORP.
SOURCE FILE NAME IS " C011XXX.DAT "
THIS SOFTWARE MAKES NEXT FILES.
C011XXXH.HEX ... HIGH BYTE OBJECT FILE.
C011XXXL.HEX ... LOW BYTE OBJECT FILE.
C011XXX .PRN ... ASSEMBLY LIST FILE.
DO YOU NEED AUTO PAGE SET? (Y/N) Y
. . . (1)
DO YOU NEED CROSS REFERENCE TABLE? (Y/N) Y
. . . (2)
When ASM6011 is started, the start-up
message is displayed.
At (1), select whether or not the auto-page-
set function will be used.
Use ........................ Y
Not use ................. N
If the assembly listing file output is
specified, message (2) is displayed. At this
stage, cross-reference table generation may
be selected.
Generating ............ Y
Not generating ...... N
When the above operation is completed,
ASM6011 assembles the source file.
To suspend execution, press the "CTRL"
and "C" keys together at stage (1) or (2).
Arithmetic operators
+a
-a
a+b
a-b
a*b
a/b
a_MOD_b
a_SHL_b
a_SHR_b
HIGH_a
LOW_a
Monadic positive
Monadic negative
Addition
Subtraction
Multiplication
Division
Remainder of a/b
Shifts a b bits to the left
Shifts a b bits to the right
Separates the high-order eight bits from a
Separates the low-order eight bits from a
Logical operators
a_AND_b
a_OR_b
a_XOR_b
NOT_a
Relational operators
a_EQ_b
a_NE_b
a_LT_b
a_LE_b
a_GT_b
a_GE_b
Logical product
Logical sum
Exclusive logical sum
Logical negation
True when a is equal to b
True when a is not equal to b
True when a is less than b
True when a is less than or equal to b
True when a is greater than b
True when a is greater than or equal to b
■
Operators