CHAPTER 7: DISASSEMBLER
S5U1C63000A MANUAL
EPSON
115
(S1C63 FAMILY ASSEMBLER PACKAGE)
55: .org 0x110
56: BOOT:
57: 0110 094b ldb %ba,SP1_INIT_ADDR
58: 0111 1fc4 ldb %sp1,%ba
; set SP1
59: 0112 091f ldb %ba,SP2_INIT_ADDR
60: 0113 1fc6 ldb %sp2,%ba
; set SP2
61: 0114 08fe (+) ldb ext,fe
62: 0115 02ea calr INIT_RAM_BLK1
; initialize RAM block 1
63: LOOP:
64: 0116 08fe (+) ldb ext,fe
65: 0117 02ef calr INC_RAM_BLK1
; increment RAM block 1
66: 0118 00fd jr LOOP
; infinity loop
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
Страница 1: ...MF910 06 CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63 Family Assembler Package S5U1C63000A Manual ...
Страница 4: ......
Страница 14: ......
Страница 304: ......
Страница 305: ...S1C63 Family Assembler Package Quick Reference ...