CHAPTER 4: ASSEMBLER
86
EPSON
S5U1C63000A MANUAL
(S1C63 FAMILY ASSEMBLER PACKAGE)
Assembly list file
Assembler 63 ver x.xx Relocatable List File MAIN.LST Mon Jan 15 12:40:41 2001
1: ; main.s
2: ; ASM63 test program (main routine)
3: ;
4:
5: ;***** INITIAL SP1 & SP2 ADDRESS DEFINITION *****
6:
7: #ifdef SMALL_RAM
8: .set SP1_INIT_ADDR 0xb
;SP1 init addr = 0x2c
9: #else
10: .set SP1_INIT_ADDR 0x4b
;SP1 init addr = 0x12c
11: #endif
12:
13: .set SP2_INIT_ADDR 0x1f
;SP2 init addr = 0x1f
14:
15:
16: ;***** NMI & BOOT, LOOP *****
17:
18: .global INIT_RAM_BLK1
; subroutine in sub.s
19: .global INC_RAM_BLK1
; subroutine in sub.s
20:
21: .org 0x100
22: NMI:
23: 0100 0200 calr INIT_RAM_BLK1
; initialize RAM block 1
24: 0101 1ff9 reti
; in NMI(watchdog timer)
25:
26: .org 0x110
27: BOOT:
28: 0110 0900 ldb %ba,SP1_INIT_ADDR
29: 0111 1fc4 ldb %sp1,%ba
; set SP1
30: 0112 0900 ldb %ba,SP2_INIT_ADDR
31: 0113 1fc6 ldb %sp2,%ba
; set SP2
32: 0114 0200 calr INIT_RAM_BLK1
; initialize RAM block 1
33: LOOP:
34: 0115 0200 calr INC_RAM_BLK1
; increment RAM block 1
35: 0116 0000 jr LOOP
; infinity loop
36:
37:
38: ;***** RAM block *****
39:
40: .org 0x0
41: .bss
42: 0000 00 .comm RAM_BLK0, 4
43: 0004 00 .comm RAM_BLK1, 4
Error file
Assembler 63 Ver x.xx Error log file MAIN.ERR Mon Jan 15 12:40:41 2001
Assembler 63 Ver x.xx
Copyright (C) SEIKO EPSON CORP. 1998-2001
Created preprocessed source file MAIN.MS
Created relocatable list file MAIN.LST
Created error log file MAIN.ERR
Created relocatable object file MAIN.O
Assembly 0 error(s) 0 warning(s)
Содержание 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 ...