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

📄 intr_cmp0.lst

📁 一个瑞萨单片机的程序。。。供大家学习用。。。。。。。。。。。。。。。。。。
💻 LST
字号:
* R8C/Tiny SERIES ASSEMBLER *   SOURCE LIST       Fri Oct 15 10:00:34 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   : intr_cmp0.a30
     4                                  ;  Contents    : compare 0 interrupt processing
     5                                  ;  Model       : for OAKS8-LCD Board
     6                                  ;  CPU         : R8C/Tiny series
     7                                  ;  Compiler    : NC30WA(V.5.30 Release 1)
     8                                  ;  OS          : not be used
     9                                  ;  Programer   : RENESAS Semiconductor Training Center
    10                                  ;  Note        : for OAKS8-R5F21114FP(R8C/11 group,20MHz)
    11                                  ;******************************************************************************
    12                                  ; COPYRIGHT(C) 2004 RENESAS TECHNOLOGY CORPORATION
    13                                  ; AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
    14                                  ;******************************************************************************
    15                                  ; History      : ---
    16                                  ;""FILE COMMENT END""*********************************************************
    17                                  
    18                                  
    19                                  ;""SUBR COMMENT""**************************************************************
    20                                  ; ID              : ---
    21                                  ; Subroutine name : Cmp0
    22                                  ; function        : control compare 0 (timer C) interrupt
    23                                  ;                 : (used as the substitution of the busy flag for LCD control)
    24                                  ; Input           : none
    25                                  ; Output          : none
    26                                  ; Subroutine used : _INT_cmp0
    27                                  ; Stack           : 16 bytes
    28                                  ; Notice          : interrupt program
    29                                  ;                 : necessary to register the address of interrupt program to the 
    30                                  ;                 : interrupt vector table of the section definition file (sect30.inc)
    31                                  ;                 : that is included in the startup program (ncrt0.a30).
    32                                  ; History         : ---
    33                                  ;""SUBR COMMENT END""**********************************************************
    34                                          .section        program         ; same as the C program section
    35                                          .glb            Cmp0            ; define interrupt program label globally
    36                                                                          ; 
    37                                          .glb            _INT_cmp0   	; define compare 0 interrupt program globally
    38                                  ;
    39  00000                           Cmp0:									; the label for 
    40                                                                          ; the address of the interrupt program,
    41                                                                          ; set this label 
    42                                                                          ; into the interrupt vector table
    43                                  ;
    44  00000  ECFD                             pushm   R0,R1,R2,R3,A0,A1,FB    ; save the register values used by 
    45                                                                          ; interrupt program in the stack
    46  00002  EB64                             fset	I
    47  00004  FD000000r             A          jsr     _INT_cmp0				; call compare 0 interrupt function
    48                                  
    49  00008  EDBF                             popm    R0,R1,R2,R3,A0,A1,FB    ; before return to the program being
    50                                                                          ; interrupted, revest register value from stack
    51  0000A                           Cmp0_end:
    52  0000A  FB                               reit                            ; return to the program being interrupted
    53                                  
    54                                  
    55                                          .end

Information List

TOTAL ERROR(S)    00000
TOTAL WARNING(S)  00000
TOTAL LINE(S)     00055   LINES

Section List

Attr        Size          Name
CODE     0000011(0000BH)  program

⌨️ 快捷键说明

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