Omron SYSMAC C200H-ASC02 Operation Manual page 157

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

Assembly Language Programming with a Terminal
Next, input the program.
! 2000: LDAA #$80
2000–
86 80
! LDAB #$7F
2002–
C6 7F
! STD $4000
2004–
FD 40 00
! X ↵
:
Format:
!(address):(mnemonic)
! (mnemonic)
3. Transferring Assembly Language Programs to the Terminal
1, 2, 3... 1.
:S2000.2100
Format:
S(start address).(end address)
4. Returning to BASIC
Key in Ctrl + B to leave monitor mode and return to BASIC mode.
: [Ctrl+B]
READY
5. Transferring Assembly Language Programs from the Terminal
Use the following procedure to transfer the program saved in procedure 3 above back to the ASCII Unit.
1, 2, 3... 1.
:L ↵
156
LDAA #$80
LDAB #$7F
STD
$4000
Insert space
Input the following in monitor mode.
2.
Select Capture Text from the Transfer menu, and specify the name of
the file for saving.
3.
Start program transfer using the START/STOP switch on the front panel
of the ASCII Unit.
4.
When program transfer has finished, select Stop in Transfer/Capture
Text, and key in Ctrl + X.
Input the following in monitor mode.
S S S S S Exits mini-assembler mode ("X" is upper case).
S S S S S When address is input
S S S S S When address is omitted.
S S S S S &H2000 to &H2100 saved.
Appendix I

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents