Epson S5U1C63000A User Manual page 129

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

55:
56:
57:
0110
58:
0111
59:
0112
60:
0113
61:
0114
62:
0115
63:
64:
0116
65:
0117
66:
0118
Output source file "test.ms" (default)
;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
Output source file "test.ms" (when -cl 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
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
.org
BOOT:
094b
ldb
1fc4
ldb
091f
ldb
1fc6
ldb
08fe
(+)
ldb
02ea
calr
LOOP:
08fe
(+)
ldb
02ef
calr
00fd
jr
0x110
%ba,SP1_INIT_ADDR
%sp1,%ba
%ba,SP2_INIT_ADDR
%sp2,%ba
ext,fe
INIT_RAM_BLK1
ext,fe
INC_RAM_BLK1
LOOP
EPSON
CHAPTER 7: DISASSEMBLER
; set SP1
; set SP2
; initialize RAM block 1
; increment RAM block 1
; infinity loop
115

Advertisement

Table of Contents
loading

Table of Contents