⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 startup_i0.lst

📁 一个瑞萨单片机的程序。。。供大家学习用。。。。。。。。。。。。。。。。。。
💻 LST
📖 第 1 页 / 共 3 页
字号:
* R8C/Tiny SERIES ASSEMBLER *   SOURCE LIST       Fri Oct 15 10:07:15 2004  PAGE 001

  SEQ.  LOC.   OBJ.              0XMSDA ....*....SOURCE STATEMENT....7....*....8....*....9....*....0....*....1....*....2....*....3....*....4

     1                                  ;""FILE	COMMENT""**************************************************************
     2                                  ;  System Name : for eduction (NO TRANSFERRING)
     3                                  ;  File	Name   : startup_i0.a30
     4                                  ;  Contents    : startup program
     5                                  ;              : (for OAKS8-LCDBoard, not support library but support interrupt)
     6                                  ;  Model       : for OAKS8-LCD Board
     7                                  ;  CPU	       : R8C/Tiny series
     8                                  ;  Compiler    : NC30WA	V.5.30 Release 1
     9                                  ;  OS	       : not be used
    10                                  ;  Programer   : RENESAS Semiconductor Training Center
    11                                  ;  Note	       : for OAKS8-R5F21114FP(R8C/11 group,20MHz)
    12                                  ;******************************************************************************
    13                                  ; COPYRIGHT(C) 2004 RENESAS TECHNOLOGY CORPORATION
    14                                  ; AND RENESAS SOLUTIONS	CORPORATION ALL	RIGHTS RESERVED
    15                                  ;******************************************************************************
    16                                  ; History      : ---
    17                                  ;""FILE	COMMENT	END""*********************************************************
    18                                  
    19                                  ;==============================================================================
    20                                  ; section assign
    21                                  ;==============================================================================
    22                                          .include	sect_i0.inc		; section defination file
    23                           1      ;""FILE COMMENT""**************************************************************
    24                           1      ;  System Name : for eduction (NO TRANSFERRING)
    25                           1      ;  File Name   : sect.inc
    26                           1      ;  Contents    : section definition(for OAKS8-LCDBoard not support library but interrupt)
    27                           1      ;  Model       : for OAKS8-LCD Board
    28                           1      ;  CPU         : R8C/Tiny series
    29                           1      ;  Compiler    : NC30WA	V.5.30 Release 1
    30                           1      ;  OS          : not be used
    31                           1      ;  Programer   : RENESAS Semiconductor Training Center
    32                           1      ;  Note        : for OAKS8-R5F21114FP(R8C/11 group,20MHz)
    33                           1      ;******************************************************************************
    34                           1      ; COPYRIGHT(C) 2004 RENESAS TECHNOLOGY CORPORATION
    35                           1      ; AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
    36                           1      ;******************************************************************************
    37                           1      ; History      : ---
    38                           1      ;""FILE COMMENT END""*********************************************************
    39                           1      
    40                           1      ;===============================================================================
    41                           1      ; section arrenge
    42                           1      ;===============================================================================
    43                           1      ;-------------------------------------------------------------------------------
    44                           1      ; variable data section (RAM)
    45                           1      ;-------------------------------------------------------------------------------
    46                           1      ; static variable with initial value
    47                           1              .section        data_NE,DATA            ; static variable with even size
    48  00400                    1              .org            0400H                  	; start address 00400H
    49  00400                    1      data_NE_top:
    50                           1              .section        data_NO,DATA,ALIGN      ; static variable with odd size
    51  00000                    1      data_NO_top:
    52                           1      
    53                           1      ;-------------------------------------------------------------------------------
    54                           1      ; static variable without initial value
    55                           1              .section        bss_NE,DATA				; static variable with even size
    56  00500                    1              .org			0500H					; start address 00500H
    57  00500                    1      bss_NE_top:
    58                           1              .section        bss_NO,DATA,ALIGN       ; static variable with odd size
    59  00000                    1      bss_NO_top:
    60                           1      
    61                           1      ;-------------------------------------------------------------------------------
    62                           1      
* R8C/Tiny SERIES ASSEMBLER *   SOURCE LIST       Fri Oct 15 10:07:15 2004  PAGE 002

  SEQ.  LOC.   OBJ.              0XMSDA ....*....SOURCE STATEMENT....7....*....8....*....9....*....0....*....1....*....2....*....3....*....4

    63                           1      ;-------------------------------------------------------------------------------
    64                           1      ; stack section
    65                           1      ;-------------------------------------------------------------------------------
    66                           1              .section        stack,DATA              ; stack section
    67  00600                    1              .org			0600H					; start address 00600H
    68  000000FFh                1      STACKSIZE               .equ    255             ; set stack size(256 bytes)
    69  00600                    1      stack_top:
    70  00600(0000FFH)           1              .blkb           STACKSIZE               ; confirm stack section
    71                           1                                                      ; with stack size
    72  006FF                    1      STACK_INI:                                      ; initialization (stack bottom)
    73                           1                                                      ; of interrupt stack pointer (ISP)
    74                           1      ;-------------------------------------------------------------------------------
    75                           1      ; code section
    76                           1      ;-------------------------------------------------------------------------------
    77                           1              .section        startup,CODE            ; start up program section
    78  0CC00                    1              .org            0CC00H                 	; start address CC00H
    79                           1      ;-------------------------------------------------------------------------------
    80                           1              .section        program,CODE            ; program section
    81                           1      ;-------------------------------------------------------------------------------
    82                           1      ; fixed data section(ROM)
    83                           1      ;-------------------------------------------------------------------------------
    84                           1      ; section to save constant, string
    85                           1              .section        rom_NE,ROMDATA          ; constant with even size
    86  0F000                    1              .org            0F000H                 	; start address F000H
    87  0F000                    1      rom_NE_top:
    88                           1              .section        rom_NO,ROMDATA,ALIGN    ; constant with odd size
    89  00000                    1      rom_NO_top:
    90                           1      ;-------------------------------------------------------------------------------
    91                           1      ; section to save initial value of static variable with initial value 
    92                           1              .section        data_NEI,ROMDATA		; initial value with even size
    93  0FC00                    1              .org			0FC00H
    94  0FC00                    1      data_NEI_top:
    95                           1              .section        data_NOI,ROMDATA,ALIGN	; initial value with odd size
    96  00000                    1      data_NOI_top:
    97                           1      
    98                           1      ;-------------------------------------------------------------------------------
    99                           1      ; variable interrupt vector section 
   100                           1      ;-------------------------------------------------------------------------------
   101                           1      		.section		interrupt_vector,CODE	; interrupt_vector section
   102  0FF34                    1      		.org			(0FEDCH + 22*4)			; start address 0FEDCH
   103                           1      		.glb			TimerX					; address of 
   104                           1      												; Ti
   105                           1      ;(question)
   106                           1      ;		______          ______					; set timer X interrupt vect
   107  0FF34  00000000r         1      		.lword          TimerX					; set timer X interrupt vect
   108                           1      
   109  0FF4C                    1      		.org			(0FEDCH + 28*4)			; 
   110                           1      		.glb			Cmp0					; for LCD control 
   111  0FF4C  00000000r         1      		.lword			Cmp0					; Timer C (for OAKS8
   112                           1      
   113                           1      ;-------------------------------------------------------------------------------
   114                           1      ; fixed interrupt vector section
   115                           1      ; *set ID1 to ID7 code at 00H丄set FFH at FFFC(for KD30 to exchange RS232C to FoUSB)丅
   116                           1      ; *when using KD30, fixed vector interrupt can not run in user program
   117                           1      ;-------------------------------------------------------------------------------
   118                           1              .section        fix_interrupt_vector,CODE
   119                           1                                                      ; fix_interrupt_vector section
   120  0FFDC                    1      		.org			0FFDCH
   121  0FFDC  00000000r         1      		.lword			DUMMY_INT				; FFDC to F undefine
   122  0FFE0  00000000r         1      		.lword			DUMMY_INT				; FFE0 to 3 overflow
   123  0FFE4  00000000r         1      		.lword			DUMMY_INT				; FFE4 to 7 BRK comm
   124  0FFE8  00000000r         1      		.lword			DUMMY_INT				; FFE8 to B same add
* R8C/Tiny SERIES ASSEMBLER *   SOURCE LIST       Fri Oct 15 10:07:15 2004  PAGE 003

  SEQ.  LOC.   OBJ.              0XMSDA ....*....SOURCE STATEMENT....7....*....8....*....9....*....0....*....1....*....2....*....3....*....4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -