2 CROSS ASSEMBLER ASM6008
S5U1C60N08D MANUAL
EPSON
5
(DEVELOPMENT SOFTWARE TOOL FOR S1C60N08)
2.3 ASM6008 Quick Reference
■
Starting command and input/output files
Execution file:
ASM6008.EXE
Starting command:
ASM6008_ [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:
C008XXX.DAT
(Source file)
Output file:
C008XXXL.HEX
(Object file, low-order)
C008XXXH.HEX
(Object file, high-order)
C008XXX.PRN
(Assembly listing file)
■
Display example
_ indicates a blank.
indicates the Return key.
A parameter enclosed by [ ] can be omitted.
*** E0C6008 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 1989 SEIKO EPSON CORP.
SOURCE FILE NAME IS " C008XXX.DAT "
THIS SOFTWARE MAKES NEXT FILES.
C008XXXH.HEX ... HIGH BYTE OBJECT FILE.
C008XXXL.HEX ... LOW BYTE OBJECT FILE.
C008XXX .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 ASM6008 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,
ASM6008 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
Содержание S5U1C60N08D
Страница 4: ......