CROSS ASSEMBLER ASM62XX
III-20
EPSON
S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
APPENDIX
ASM62XX EXECUTION EXAMPLE
1) Source file (C2XX0A0.DAT)
A>TYPE C2XX0A0.DAT
;
;*******<< SAMPLE PROGRAM :E0C62XX >>*******
;
ABC EQU 0F0H
TEN EQU 10
;
START LD A,0
LD X,8
LD Y,3
LDPX A,MX
;
ORG 0E0H
;
NEXT ADD B,TEN
LD MX,XH
AND A,101B
FAN MY,A
RCF
SCPX MX,B
JP C,NEXT
;
;-------<< ERROR >>-------
EQU 0CH-2
ERROR EQU 4
ERROR LD A,3
SBD MX,A
INC Z
JP UNDEF
ORG 11100000B
NOP5
SECTION
ORG ABC+0FH
NOP7
NOP7
END
Summary of Contents for S1C62 Family
Page 1: ...MF599 06 Development Tool Reference Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C62 Family ...
Page 4: ......
Page 6: ......
Page 8: ......
Page 10: ......
Page 18: ......
Page 20: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 54: ......
Page 56: ......
Page 58: ......
Page 70: ......
Page 72: ......
Page 74: ......
Page 82: ......
Page 84: ......
Page 86: ......
Page 98: ......
Page 100: ......
Page 112: ......
Page 206: ......
Page 208: ......
Page 210: ......