Epson S5U1C63000A Computer Accessories User Manual


 
CHAPTER 7: DISASSEMBLER
116 EPSON S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
adc [%x]+,0x0
adc [%x],0x0
ret
.code
.org 0x100
ldb %ext,code1@rh
calr code1@rl
reti
.code
.org 0x110
ldb %ba,label3@l
ldb %sp1,%ba
ldb %ba,label4@l
ldb %sp2,%ba
ldb %ext,code1@rh
calr code1@rl
code3:
ldb %ext,code2@rh
calr code2@rl
jr code3@rl
Output source file "test.ms" (when -cu is specified)
;Disassembler 63 Ver x.xx Assembly source file TEST.MS Mon Jan 15 13:10:20 2001
.SET LABEL1 0X4
.SET LABEL2 0X4
.SET LABEL3 0X4B
.SET LABEL4 0X1F
.CODE
.ORG 0X0
CODE1:
LDB %EXT,LABEL1@H
LDB %XL,LABEL1@L
LD [%X]+,0X0
LD [%X]+,0X0
LD [%X]+,0X0
LD [%X],0X0
RET
CODE2:
LDB %EXT,LABEL2@H
LDB %XL,LABEL2@L
ADD [%X]+,0X1
ADC [%X]+,0X0
ADC [%X]+,0X0
ADC [%X],0X0
RET
.CODE
.ORG 0X100
LDB %EXT,CODE1@RH
CALR CODE1@RL
RETI
.CODE
.ORG 0X110
LDB %BA,LABEL3@L
LDB %SP1,%BA
LDB %BA,LABEL4@L
LDB %SP2,%BA
LDB %EXT,CODE1@RH
CALR CODE1@RL
CODE3:
LDB %EXT,CODE2@RH
CALR CODE2@RL
JR CODE3@RL