|
|
- ;***************************************************************
- ;* TMS320C54x C/C++ Codegen PC v4.1.0 *
- ;* Date/Time created: Fri May 06 17:19:30 2016 *
- ;***************************************************************
- .compiler_opts --mem_model:code=far --mem_model:data=flat --quiet --silicon_version=548
- .mmregs
- FP .set AR7
- .c_mode
-
- DW$CU .dwtag DW_TAG_compile_unit
- .dwattr DW$CU, DW_AT_name("timer.c")
- .dwattr DW$CU, DW_AT_producer("TMS320C54x C/C++ Codegen PC v4.1.0 Copyright (c) 1996-2005 Texas Instruments Incorporated")
- .dwattr DW$CU, DW_AT_stmt_list(0x00)
- .dwattr DW$CU, DW_AT_TI_VERSION(0x01)
- ;**************************************************************
- ;* CINIT RECORDS *
- ;**************************************************************
- .sect ".cinit"
- .align 1
- .field IR_1,16
- .field _myTConfig+0,16
- .field 3104,16 ; _myTConfig._tcr @ 0
- .field 2048,16 ; _myTConfig._prd @ 16
- IR_1: .set 2
-
- .sect ".cinit"
- .align 1
- .field 1,16
- .field _timer_int_cnt+0,16
- .field 0,16 ; _timer_int_cnt @ 0
-
-
- DW$1 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_clear"), DW_AT_symbol_name("_IRQ_clear")
- .dwattr DW$1, DW_AT_declaration(0x01)
- .dwattr DW$1, DW_AT_external(0x01)
- DW$2 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$1
-
-
- DW$3 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_enable"), DW_AT_symbol_name("_IRQ_enable")
- .dwattr DW$3, DW_AT_type(*DW$T$10)
- .dwattr DW$3, DW_AT_declaration(0x01)
- .dwattr DW$3, DW_AT_external(0x01)
- DW$4 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$3
-
-
- DW$5 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_globalDisable"), DW_AT_symbol_name("_IRQ_globalDisable")
- .dwattr DW$5, DW_AT_type(*DW$T$10)
- .dwattr DW$5, DW_AT_declaration(0x01)
- .dwattr DW$5, DW_AT_external(0x01)
-
- DW$6 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_globalEnable"), DW_AT_symbol_name("_IRQ_globalEnable")
- .dwattr DW$6, DW_AT_type(*DW$T$10)
- .dwattr DW$6, DW_AT_declaration(0x01)
- .dwattr DW$6, DW_AT_external(0x01)
-
- DW$7 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_globalRestore"), DW_AT_symbol_name("_IRQ_globalRestore")
- .dwattr DW$7, DW_AT_declaration(0x01)
- .dwattr DW$7, DW_AT_external(0x01)
- DW$8 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
- .dwendtag DW$7
-
-
- DW$9 .dwtag DW_TAG_subprogram, DW_AT_name("IRQ_plug"), DW_AT_symbol_name("_IRQ_plug")
- .dwattr DW$9, DW_AT_declaration(0x01)
- .dwattr DW$9, DW_AT_external(0x01)
- DW$10 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- DW$11 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$28)
- .dwendtag DW$9
-
-
- DW$12 .dwtag DW_TAG_subprogram, DW_AT_name("CSL_init"), DW_AT_symbol_name("_CSL_init")
- .dwattr DW$12, DW_AT_declaration(0x01)
- .dwattr DW$12, DW_AT_external(0x01)
-
- DW$13 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_open"), DW_AT_symbol_name("_TIMER_open")
- .dwattr DW$13, DW_AT_type(*DW$T$32)
- .dwattr DW$13, DW_AT_declaration(0x01)
- .dwattr DW$13, DW_AT_external(0x01)
- DW$14 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
- DW$15 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$13
-
-
- DW$16 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_close"), DW_AT_symbol_name("_TIMER_close")
- .dwattr DW$16, DW_AT_declaration(0x01)
- .dwattr DW$16, DW_AT_external(0x01)
- DW$17 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$16
-
-
- DW$18 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_getEventId"), DW_AT_symbol_name("_TIMER_getEventId")
- .dwattr DW$18, DW_AT_type(*DW$T$19)
- .dwattr DW$18, DW_AT_declaration(0x01)
- .dwattr DW$18, DW_AT_external(0x01)
- DW$19 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$18
-
-
- DW$20 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_start"), DW_AT_symbol_name("_TIMER_start")
- .dwattr DW$20, DW_AT_declaration(0x01)
- .dwattr DW$20, DW_AT_external(0x01)
- DW$21 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$20
-
-
- DW$22 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_stop"), DW_AT_symbol_name("_TIMER_stop")
- .dwattr DW$22, DW_AT_declaration(0x01)
- .dwattr DW$22, DW_AT_external(0x01)
- DW$23 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$22
-
-
- DW$24 .dwtag DW_TAG_subprogram, DW_AT_name("TIMER_config"), DW_AT_symbol_name("_TIMER_config")
- .dwattr DW$24, DW_AT_declaration(0x01)
- .dwattr DW$24, DW_AT_external(0x01)
- DW$25 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- DW$26 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$36)
- .dwendtag DW$24
-
-
- DW$27 .dwtag DW_TAG_subprogram, DW_AT_name("uart_puts"), DW_AT_symbol_name("_uart_puts")
- .dwattr DW$27, DW_AT_declaration(0x01)
- .dwattr DW$27, DW_AT_external(0x01)
- DW$28 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$41)
- .dwendtag DW$27
-
- .global _myTConfig
- .bss _myTConfig,2,0,0
- DW$29 .dwtag DW_TAG_variable, DW_AT_name("myTConfig"), DW_AT_symbol_name("_myTConfig")
- .dwattr DW$29, DW_AT_location[DW_OP_addr _myTConfig]
- .dwattr DW$29, DW_AT_type(*DW$T$35)
- .dwattr DW$29, DW_AT_external(0x01)
- .global _mhTimer
- .bss _mhTimer,1,0,0
- DW$30 .dwtag DW_TAG_variable, DW_AT_name("mhTimer"), DW_AT_symbol_name("_mhTimer")
- .dwattr DW$30, DW_AT_location[DW_OP_addr _mhTimer]
- .dwattr DW$30, DW_AT_type(*DW$T$32)
- .dwattr DW$30, DW_AT_external(0x01)
- .global _timer_int_cnt
- .bss _timer_int_cnt,1,0,0
- DW$31 .dwtag DW_TAG_variable, DW_AT_name("timer_int_cnt"), DW_AT_symbol_name("_timer_int_cnt")
- .dwattr DW$31, DW_AT_location[DW_OP_addr _timer_int_cnt]
- .dwattr DW$31, DW_AT_type(*DW$T$47)
- .dwattr DW$31, DW_AT_external(0x01)
- ; D:\CCStudio_v3.3\C5400\cgtools\bin\acp500.exe --keep_unneeded_types -q -D_DEBUG -DCHIP_5416 -ID:/CCStudio_v3.3/C5400/xdais/include -ID:/CCStudio_v3.3/C5400/csl/include -ID:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include -ID:/CCStudio_v3.3/bios_5_31_02/packages/ti/rtdx/include/c5400 -ID:/CCStudio_v3.3/C5400/cgtools/include --mem_model:code=far --mem_model:data=flat -m --i_output_file C:\Users\jiachao\AppData\Local\Temp\TI8762 --template_info_file C:\Users\jiachao\AppData\Local\Temp\TI8766
- .sect ".text"
- .global _main
-
- DW$32 .dwtag DW_TAG_subprogram, DW_AT_name("main"), DW_AT_symbol_name("_main")
- .dwattr DW$32, DW_AT_low_pc(_main)
- .dwattr DW$32, DW_AT_high_pc(0x00)
- .dwattr DW$32, DW_AT_begin_file("timer.c")
- .dwattr DW$32, DW_AT_begin_line(0x31)
- .dwattr DW$32, DW_AT_begin_column(0x06)
- .dwpsn "timer.c",49,13
-
- .dwfde DW$CIE
-
- ;***************************************************************
- ;* FUNCTION DEF: _main *
- ;***************************************************************
- _main:
- .dwcfa 0x0e, 2
- .dwcfa 0x80, 34, 2
- .dwpsn "timer.c",51,3
- FCALLD #_uart_puts ; |51|
- LD #SL1,A
- ; call occurs [#_uart_puts] ; |51|
- .dwpsn "timer.c",54,3
- FCALL #_CSL_init ; |54|
- ; call occurs [#_CSL_init] ; |54|
- .dwpsn "timer.c",56,3
- FCALL #_taskFunc ; |56|
- ; call occurs [#_taskFunc] ; |56|
- .dwpsn "timer.c",57,9
- L1:
- DW$L$_main$2$B:
- B L1 ; |57|
- ; branch occurs ; |57|
- DW$L$_main$2$E:
-
- DW$33 .dwtag DW_TAG_loop
- .dwattr DW$33, DW_AT_name("D:\CCStudio_v3.3\examples\dsk5416\csl\timer\timer1\timer.asm:L1:1:1462526370")
- .dwattr DW$33, DW_AT_begin_file("timer.c")
- .dwattr DW$33, DW_AT_begin_line(0x39)
- .dwattr DW$33, DW_AT_end_line(0x39)
- DW$34 .dwtag DW_TAG_loop_range
- .dwattr DW$34, DW_AT_low_pc(DW$L$_main$2$B)
- .dwattr DW$34, DW_AT_high_pc(DW$L$_main$2$E)
- .dwendtag DW$33
-
- .dwattr DW$32, DW_AT_end_file("timer.c")
- .dwattr DW$32, DW_AT_end_line(0x3a)
- .dwattr DW$32, DW_AT_end_column(0x01)
- .dwendentry
- .dwendtag DW$32
-
- .sect ".text"
- .global _taskFunc
-
- DW$35 .dwtag DW_TAG_subprogram, DW_AT_name("taskFunc"), DW_AT_symbol_name("_taskFunc")
- .dwattr DW$35, DW_AT_low_pc(_taskFunc)
- .dwattr DW$35, DW_AT_high_pc(0x00)
- .dwattr DW$35, DW_AT_begin_file("timer.c")
- .dwattr DW$35, DW_AT_begin_line(0x3d)
- .dwattr DW$35, DW_AT_begin_column(0x06)
- .dwpsn "timer.c",61,21
-
- .dwfde DW$CIE
-
- ;***************************************************************
- ;* FUNCTION DEF: _taskFunc *
- ;***************************************************************
- _taskFunc:
- .dwcfa 0x0e, 2
- .dwcfa 0x80, 34, 2
- PSHM AR1
- .dwcfa 0x0e, 3
- .dwcfa 0x80, 10, 3
- FRAME #-5
- NOP
- .dwcfa 0x0e, 8
- DW$36 .dwtag DW_TAG_variable, DW_AT_name("eventId"), DW_AT_symbol_name("_eventId")
- .dwattr DW$36, DW_AT_type(*DW$T$19)
- .dwattr DW$36, DW_AT_location[DW_OP_breg17 2]
- DW$37 .dwtag DW_TAG_variable, DW_AT_name("old_intm"), DW_AT_symbol_name("_old_intm")
- .dwattr DW$37, DW_AT_type(*DW$T$10)
- .dwattr DW$37, DW_AT_location[DW_OP_breg17 3]
- DW$38 .dwtag DW_TAG_variable, DW_AT_name("err"), DW_AT_symbol_name("_err")
- .dwattr DW$38, DW_AT_type(*DW$T$19)
- .dwattr DW$38, DW_AT_location[DW_OP_breg17 4]
- .dwpsn "timer.c",65,10
- ST #0,*SP(4) ; |65|
- .dwpsn "timer.c",68,3
- FCALLD #_uart_puts ; |68|
- LD #SL2,A
- ; call occurs [#_uart_puts] ; |68|
- .dwpsn "timer.c",72,3
- FCALL #_IRQ_globalDisable ; |72|
- ; call occurs [#_IRQ_globalDisable] ; |72|
- STL A,*SP(3)
- .dwpsn "timer.c",76,3
- ST #1,*SP(0) ; |76|
- FCALLD #_TIMER_open ; |76|
- NOP
- LD #0,A
- ; call occurs [#_TIMER_open] ; |76|
- STL A,*(_mhTimer)
- .dwpsn "timer.c",80,3
- ST #_myTConfig,*SP(0) ; |80|
- FCALL #_TIMER_config ; |80|
- ; call occurs [#_TIMER_config] ; |80|
- .dwpsn "timer.c",83,3
- LD *(_mhTimer),A
- FCALL #_TIMER_getEventId ; |83|
- ; call occurs [#_TIMER_getEventId] ; |83|
- STL A,*SP(2)
- .dwpsn "timer.c",86,3
- FCALL #_IRQ_clear ; |86|
- ; call occurs [#_IRQ_clear] ; |86|
- .dwpsn "timer.c",89,3
- LDX #_timerIsr,16,A ; |89|
- OR #_timerIsr,A,A ; |89|
- DST A,*SP(0) ; |89|
- LD *SP(2),A
- FCALL #_IRQ_plug ; |89|
- ; call occurs [#_IRQ_plug] ; |89|
- .dwpsn "timer.c",92,3
- LD *SP(2),A
- FCALL #_IRQ_enable ; |92|
- ; call occurs [#_IRQ_enable] ; |92|
- .dwpsn "timer.c",95,3
- FCALL #_IRQ_globalEnable ; |95|
- ; call occurs [#_IRQ_globalEnable] ; |95|
- .dwpsn "timer.c",98,3
- LD *(_mhTimer),A
- FCALL #_TIMER_start ; |98|
- ; call occurs [#_TIMER_start] ; |98|
- .dwpsn "timer.c",101,9
- MVDM *(_timer_int_cnt),AR1
- STM #20,AR0
- CMPR 1,AR1 ; |101|
- BC L3,NTC ; |101|
- ; branchcc occurs ; |101|
- L2:
- DW$L$_taskFunc$2$B:
- MVDM *(_timer_int_cnt),AR1
- NOP
- CMPR 1,AR1 ; |101|
- BC L2,TC ; |101|
- ; branchcc occurs ; |101|
- DW$L$_taskFunc$2$E:
- L3:
- .dwpsn "timer.c",104,3
- LD *(_mhTimer),A
- FCALL #_TIMER_close ; |104|
- ; call occurs [#_TIMER_close] ; |104|
- .dwpsn "timer.c",107,3
- LD *SP(3),A
- FCALL #_IRQ_globalRestore ; |107|
- ; call occurs [#_IRQ_globalRestore] ; |107|
- .dwpsn "timer.c",109,4
- MVDM *(_timer_int_cnt),AR1
- STM #20,AR0
- CMPR 1,AR1 ; |109|
- BC L4,NTC ; |109|
- ; branchcc occurs ; |109|
- .dwpsn "timer.c",110,7
- ADDM #1,*SP(4) ; |110|
- L4:
- .dwpsn "timer.c",114,4
- LD *SP(4),A ; |114|
- BC L5,AEQ ; |114|
- ; branchcc occurs ; |114|
- .dwpsn "timer.c",115,6
- FCALLD #_uart_puts ; |115|
- LD #SL3,A
- ; call occurs [#_uart_puts] ; |115|
- B L6 ; |115|
- ; branch occurs ; |115|
- L5:
- .dwpsn "timer.c",117,6
- FCALLD #_uart_puts ; |117|
- LD #SL4,A
- ; call occurs [#_uart_puts] ; |117|
- L6:
- .dwpsn "timer.c",119,4
- FCALLD #_uart_puts ; |119|
- LD #SL5,A
- ; call occurs [#_uart_puts] ; |119|
- .dwpsn "timer.c",120,1
- FRAME #5
- .dwcfa 0x0e, 3
- POPM AR1
- .dwcfa 0xc0, 10
- .dwcfa 0x0e, 2
- NOP
- NOP
- FRET
- ; return occurs
-
- DW$39 .dwtag DW_TAG_loop
- .dwattr DW$39, DW_AT_name("D:\CCStudio_v3.3\examples\dsk5416\csl\timer\timer1\timer.asm:L2:1:1462526370")
- .dwattr DW$39, DW_AT_begin_file("timer.c")
- .dwattr DW$39, DW_AT_begin_line(0x65)
- .dwattr DW$39, DW_AT_end_line(0x65)
- DW$40 .dwtag DW_TAG_loop_range
- .dwattr DW$40, DW_AT_low_pc(DW$L$_taskFunc$2$B)
- .dwattr DW$40, DW_AT_high_pc(DW$L$_taskFunc$2$E)
- .dwendtag DW$39
-
- .dwattr DW$35, DW_AT_end_file("timer.c")
- .dwattr DW$35, DW_AT_end_line(0x78)
- .dwattr DW$35, DW_AT_end_column(0x01)
- .dwendentry
- .dwendtag DW$35
-
- .sect ".text"
- .global _timerIsr
-
- DW$41 .dwtag DW_TAG_subprogram, DW_AT_name("timerIsr"), DW_AT_symbol_name("_timerIsr")
- .dwattr DW$41, DW_AT_low_pc(_timerIsr)
- .dwattr DW$41, DW_AT_high_pc(0x00)
- .dwattr DW$41, DW_AT_begin_file("timer.c")
- .dwattr DW$41, DW_AT_begin_line(0x7d)
- .dwattr DW$41, DW_AT_begin_column(0x10)
- .dwpsn "timer.c",125,31
-
- .dwfde DW$CIE
-
- ;***************************************************************
- ;* FUNCTION DEF: _timerIsr *
- ;***************************************************************
- _timerIsr:
- NOP
- .dwcfa 0x0e, 2
- .dwcfa 0x80, 34, 2
- PSHM AL
- .dwcfa 0x0e, 3
- .dwcfa 0x80, 0, 3
- PSHM AH
- .dwcfa 0x0e, 4
- .dwcfa 0x80, 1, 4
- PSHM AG
- .dwcfa 0x0e, 5
- .dwcfa 0x80, 2, 5
- PSHM BL
- .dwcfa 0x0e, 6
- .dwcfa 0x80, 6, 6
- PSHM BH
- .dwcfa 0x0e, 7
- .dwcfa 0x80, 7, 7
- PSHM BG
- .dwcfa 0x0e, 8
- .dwcfa 0x80, 8, 8
- PSHM AR0
- .dwcfa 0x0e, 9
- .dwcfa 0x80, 9, 9
- PSHM AR1
- .dwcfa 0x0e, 10
- .dwcfa 0x80, 10, 10
- PSHM AR2
- .dwcfa 0x0e, 11
- .dwcfa 0x80, 11, 11
- PSHM AR3
- .dwcfa 0x0e, 12
- .dwcfa 0x80, 12, 12
- PSHM AR4
- .dwcfa 0x0e, 13
- .dwcfa 0x80, 13, 13
- PSHM AR5
- .dwcfa 0x0e, 14
- .dwcfa 0x80, 14, 14
- PSHM AR6
- .dwcfa 0x0e, 15
- .dwcfa 0x80, 15, 15
- PSHM AR7
- .dwcfa 0x0e, 16
- .dwcfa 0x80, 16, 16
- PSHM FP
- .dwcfa 0x0e, 17
- .dwcfa 0x80, 18, 17
- PSHM BK
- .dwcfa 0x0e, 18
- .dwcfa 0x80, 19, 18
- PSHM T
- .dwcfa 0x0e, 19
- .dwcfa 0x80, 20, 19
- PSHM ST0
- .dwcfa 0x0e, 20
- .dwcfa 0x80, 23, 20
- PSHM ST1
- NOP
- .dwcfa 0x0e, 21
- .dwcfa 0x80, 24, 21
- PSHM BRC
- .dwcfa 0x0e, 22
- .dwcfa 0x80, 25, 22
- PSHM PMST
- NOP
- .dwcfa 0x0e, 23
- .dwcfa 0x80, 29, 23
- PSHM RSA
- .dwcfa 0x0e, 24
- .dwcfa 0x80, 30, 24
- PSHM REA
- .dwcfa 0x0e, 25
- .dwcfa 0x80, 31, 25
- ANDM #32063,*(ST1)
- ORM #16384,*(ST1)
- ANDM #-4,*(PMST)
- LDM SP,A
- ANDM #-2,*(SP)
- NOP
- NOP
- PSHM AL
- FRAME #-1
- .dwcfa 0x0e, 25
- .dwpsn "timer.c",126,4
- LD *(_mhTimer),A
- FCALL #_TIMER_stop ; |126|
- ; call occurs [#_TIMER_stop] ; |126|
- .dwpsn "timer.c",127,4
- ADDM #1,*(_timer_int_cnt) ; |127|
- .dwpsn "timer.c",128,4
- MVDM *(_timer_int_cnt),AR1
- STM #20,AR0
- CMPR 1,AR1 ; |128|
- BC L7,NTC ; |128|
- ; branchcc occurs ; |128|
- .dwpsn "timer.c",129,6
- LD *(_mhTimer),A
- FCALL #_TIMER_start ; |129|
- ; call occurs [#_TIMER_start] ; |129|
- L7:
- .dwpsn "timer.c",132,4
- FCALLD #_uart_puts ; |132|
- LD #SL6,A
- ; call occurs [#_uart_puts] ; |132|
- .dwpsn "timer.c",133,1
- FRAME #1
- .dwcfa 0x0e, 25
- POPM SP
- NOP
- POPM REA
- .dwcfa 0xc0, 31
- .dwcfa 0x0e, 24
- POPM RSA
- .dwcfa 0xc0, 30
- .dwcfa 0x0e, 23
- POPM PMST
- NOP
- .dwcfa 0xc0, 29
- .dwcfa 0x0e, 22
- POPM BRC
- .dwcfa 0xc0, 25
- .dwcfa 0x0e, 21
- POPM ST1
- NOP
- .dwcfa 0xc0, 24
- .dwcfa 0x0e, 20
- POPM ST0
- .dwcfa 0xc0, 23
- .dwcfa 0x0e, 19
- POPM T
- .dwcfa 0xc0, 20
- .dwcfa 0x0e, 18
- POPM BK
- .dwcfa 0xc0, 19
- .dwcfa 0x0e, 17
- POPM FP
- .dwcfa 0xc0, 18
- .dwcfa 0x0e, 16
- POPM AR7
- .dwcfa 0xc0, 16
- .dwcfa 0x0e, 15
- POPM AR6
- .dwcfa 0xc0, 15
- .dwcfa 0x0e, 14
- POPM AR5
- .dwcfa 0xc0, 14
- .dwcfa 0x0e, 13
- POPM AR4
- .dwcfa 0xc0, 13
- .dwcfa 0x0e, 12
- POPM AR3
- .dwcfa 0xc0, 12
- .dwcfa 0x0e, 11
- POPM AR2
- .dwcfa 0xc0, 11
- .dwcfa 0x0e, 10
- POPM AR1
- .dwcfa 0xc0, 10
- .dwcfa 0x0e, 9
- POPM AR0
- .dwcfa 0xc0, 9
- .dwcfa 0x0e, 8
- POPM BG
- .dwcfa 0xc0, 8
- .dwcfa 0x0e, 7
- POPM BH
- .dwcfa 0xc0, 7
- .dwcfa 0x0e, 6
- POPM BL
- .dwcfa 0xc0, 6
- .dwcfa 0x0e, 5
- POPM AG
- .dwcfa 0xc0, 2
- .dwcfa 0x0e, 4
- POPM AH
- .dwcfa 0xc0, 1
- .dwcfa 0x0e, 3
- POPM AL
- .dwcfa 0xc0, 0
- .dwcfa 0x0e, 2
- NOP
- NOP
- FRETE
- ; branch occurs
- .dwattr DW$41, DW_AT_end_file("timer.c")
- .dwattr DW$41, DW_AT_end_line(0x85)
- .dwattr DW$41, DW_AT_end_column(0x01)
- .dwendentry
- .dwendtag DW$41
-
- ;***************************************************************
- ;* STRINGS *
- ;***************************************************************
- .sect ".const"
- SL1: .string "C5416 Timer Test Start...",10,0
- SL2: .string "<TIMER>",10,0
- SL3: .string "TEST FAILED",10,0
- SL4: .string "TEST PASSED",10,0
- SL5: .string "<DONE>",10,0
- SL6: .string "Entry Timer Isr function...",10,0
- ;***************************************************************
- ;* UNDEFINED EXTERNAL REFERENCES *
- ;***************************************************************
- .global _IRQ_clear
- .global _IRQ_enable
- .global _IRQ_globalDisable
- .global _IRQ_globalEnable
- .global _IRQ_globalRestore
- .global _IRQ_plug
- .global _CSL_init
- .global _TIMER_open
- .global _TIMER_close
- .global _TIMER_getEventId
- .global _TIMER_start
- .global _TIMER_stop
- .global _TIMER_config
- .global _uart_puts
-
- ;***************************************************************
- ;* TYPE INFORMATION *
- ;***************************************************************
-
- DW$T$22 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$22, DW_AT_language(DW_LANG_C)
- DW$42 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$T$22
-
-
- DW$T$24 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$24, DW_AT_language(DW_LANG_C)
- DW$43 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
- .dwendtag DW$T$24
-
-
- DW$T$26 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$26, DW_AT_language(DW_LANG_C)
- DW$T$28 .dwtag DW_TAG_typedef, DW_AT_name("IRQ_IsrPtr"), DW_AT_type(*DW$T$27)
- .dwattr DW$T$28, DW_AT_language(DW_LANG_C)
-
- DW$T$29 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$29, DW_AT_language(DW_LANG_C)
- DW$44 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- DW$45 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$28)
- .dwendtag DW$T$29
-
-
- DW$T$33 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$33, DW_AT_language(DW_LANG_C)
- DW$46 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$T$33
-
-
- DW$T$37 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$37, DW_AT_language(DW_LANG_C)
- DW$47 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- DW$48 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$36)
- .dwendtag DW$T$37
-
-
- DW$T$42 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$42, DW_AT_language(DW_LANG_C)
- DW$49 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$41)
- .dwendtag DW$T$42
-
-
- DW$T$44 .dwtag DW_TAG_subroutine_type
- .dwattr DW$T$44, DW_AT_language(DW_LANG_C)
- DW$T$19 .dwtag DW_TAG_typedef, DW_AT_name("Uint16"), DW_AT_type(*DW$T$9)
- .dwattr DW$T$19, DW_AT_language(DW_LANG_C)
-
- DW$T$45 .dwtag DW_TAG_subroutine_type, DW_AT_type(*DW$T$19)
- .dwattr DW$T$45, DW_AT_language(DW_LANG_C)
- DW$50 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$32)
- .dwendtag DW$T$45
-
- DW$T$47 .dwtag DW_TAG_volatile_type
- .dwattr DW$T$47, DW_AT_type(*DW$T$19)
- DW$T$10 .dwtag DW_TAG_base_type, DW_AT_name("int")
- .dwattr DW$T$10, DW_AT_encoding(DW_ATE_signed)
- .dwattr DW$T$10, DW_AT_byte_size(0x01)
-
- DW$T$48 .dwtag DW_TAG_subroutine_type, DW_AT_type(*DW$T$10)
- .dwattr DW$T$48, DW_AT_language(DW_LANG_C)
- DW$51 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$T$48
-
-
- DW$T$50 .dwtag DW_TAG_subroutine_type, DW_AT_type(*DW$T$10)
- .dwattr DW$T$50, DW_AT_language(DW_LANG_C)
- DW$T$32 .dwtag DW_TAG_typedef, DW_AT_name("TIMER_Handle"), DW_AT_type(*DW$T$31)
- .dwattr DW$T$32, DW_AT_language(DW_LANG_C)
-
- DW$T$52 .dwtag DW_TAG_subroutine_type, DW_AT_type(*DW$T$32)
- .dwattr DW$T$52, DW_AT_language(DW_LANG_C)
- DW$52 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
- DW$53 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$19)
- .dwendtag DW$T$52
-
- DW$T$35 .dwtag DW_TAG_typedef, DW_AT_name("TIMER_Config"), DW_AT_type(*DW$T$21)
- .dwattr DW$T$35, DW_AT_language(DW_LANG_C)
- DW$T$36 .dwtag DW_TAG_pointer_type, DW_AT_type(*DW$T$35)
- .dwattr DW$T$36, DW_AT_address_class(0x10)
- DW$T$41 .dwtag DW_TAG_pointer_type, DW_AT_type(*DW$T$40)
- .dwattr DW$T$41, DW_AT_address_class(0x10)
- DW$T$27 .dwtag DW_TAG_pointer_type, DW_AT_type(*DW$T$26)
- .dwattr DW$T$27, DW_AT_address_class(0x20)
- DW$T$9 .dwtag DW_TAG_base_type, DW_AT_name("unsigned short")
- .dwattr DW$T$9, DW_AT_encoding(DW_ATE_unsigned)
- .dwattr DW$T$9, DW_AT_byte_size(0x01)
- DW$T$31 .dwtag DW_TAG_pointer_type, DW_AT_type(*DW$T$20)
- .dwattr DW$T$31, DW_AT_address_class(0x10)
-
- DW$T$21 .dwtag DW_TAG_structure_type
- .dwattr DW$T$21, DW_AT_byte_size(0x02)
- DW$54 .dwtag DW_TAG_member, DW_AT_type(*DW$T$19)
- .dwattr DW$54, DW_AT_name("tcr"), DW_AT_symbol_name("_tcr")
- .dwattr DW$54, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
- .dwattr DW$54, DW_AT_accessibility(DW_ACCESS_public)
- DW$55 .dwtag DW_TAG_member, DW_AT_type(*DW$T$19)
- .dwattr DW$55, DW_AT_name("prd"), DW_AT_symbol_name("_prd")
- .dwattr DW$55, DW_AT_data_member_location[DW_OP_plus_uconst 0x1]
- .dwattr DW$55, DW_AT_accessibility(DW_ACCESS_public)
- .dwendtag DW$T$21
-
- DW$T$40 .dwtag DW_TAG_const_type
- .dwattr DW$T$40, DW_AT_type(*DW$T$39)
-
- DW$T$20 .dwtag DW_TAG_structure_type
- .dwattr DW$T$20, DW_AT_byte_size(0x01)
- DW$56 .dwtag DW_TAG_member, DW_AT_type(*DW$T$19)
- .dwattr DW$56, DW_AT_name("Private"), DW_AT_symbol_name("_Private")
- .dwattr DW$56, DW_AT_data_member_location[DW_OP_plus_uconst 0x0]
- .dwattr DW$56, DW_AT_accessibility(DW_ACCESS_public)
- .dwendtag DW$T$20
-
- DW$T$39 .dwtag DW_TAG_base_type, DW_AT_name("signed char")
- .dwattr DW$T$39, DW_AT_encoding(DW_ATE_signed_char)
- .dwattr DW$T$39, DW_AT_byte_size(0x01)
-
- .dwattr DW$32, DW_AT_external(0x01)
- .dwattr DW$35, DW_AT_external(0x01)
- .dwattr DW$41, DW_AT_external(0x01)
- .dwattr DW$CU, DW_AT_language(DW_LANG_C)
-
- ;***************************************************************
- ;* DWARF CIE ENTRIES *
- ;***************************************************************
-
- DW$CIE .dwcie 1, 34
- .dwcfa 0x0c, 17, 0
- .dwcfa 0x07, 0
- .dwcfa 0x07, 1
- .dwcfa 0x07, 2
- .dwcfa 0x07, 3
- .dwcfa 0x07, 4
- .dwcfa 0x07, 5
- .dwcfa 0x07, 6
- .dwcfa 0x07, 7
- .dwcfa 0x07, 8
- .dwcfa 0x07, 9
- .dwcfa 0x08, 10
- .dwcfa 0x07, 11
- .dwcfa 0x07, 12
- .dwcfa 0x07, 13
- .dwcfa 0x07, 14
- .dwcfa 0x08, 15
- .dwcfa 0x08, 16
- .dwcfa 0x07, 17
- .dwcfa 0x07, 18
- .dwcfa 0x07, 19
- .dwcfa 0x07, 20
- .dwcfa 0x07, 21
- .dwcfa 0x07, 22
- .dwcfa 0x07, 23
- .dwcfa 0x07, 24
- .dwcfa 0x07, 25
- .dwcfa 0x07, 26
- .dwcfa 0x07, 27
- .dwcfa 0x07, 28
- .dwcfa 0x07, 29
- .dwcfa 0x07, 30
- .dwcfa 0x07, 31
- .dwcfa 0x07, 32
- .dwcfa 0x07, 33
- .dwcfa 0x07, 34
-
- ;***************************************************************
- ;* DWARF REGISTER MAP *
- ;***************************************************************
-
- DW$57 .dwtag DW_TAG_assign_register, DW_AT_name("A")
- .dwattr DW$57, DW_AT_location[DW_OP_reg0]
- DW$58 .dwtag DW_TAG_assign_register, DW_AT_name("AH")
- .dwattr DW$58, DW_AT_location[DW_OP_reg1]
- DW$59 .dwtag DW_TAG_assign_register, DW_AT_name("AG")
- .dwattr DW$59, DW_AT_location[DW_OP_reg2]
- DW$60 .dwtag DW_TAG_assign_register, DW_AT_name("")
- .dwattr DW$60, DW_AT_location[DW_OP_reg3]
- DW$61 .dwtag DW_TAG_assign_register, DW_AT_name("")
- .dwattr DW$61, DW_AT_location[DW_OP_reg4]
- DW$62 .dwtag DW_TAG_assign_register, DW_AT_name("")
- .dwattr DW$62, DW_AT_location[DW_OP_reg5]
- DW$63 .dwtag DW_TAG_assign_register, DW_AT_name("B")
- .dwattr DW$63, DW_AT_location[DW_OP_reg6]
- DW$64 .dwtag DW_TAG_assign_register, DW_AT_name("BH")
- .dwattr DW$64, DW_AT_location[DW_OP_reg7]
- DW$65 .dwtag DW_TAG_assign_register, DW_AT_name("BG")
- .dwattr DW$65, DW_AT_location[DW_OP_reg8]
- DW$66 .dwtag DW_TAG_assign_register, DW_AT_name("AR0")
- .dwattr DW$66, DW_AT_location[DW_OP_reg9]
- DW$67 .dwtag DW_TAG_assign_register, DW_AT_name("AR1")
- .dwattr DW$67, DW_AT_location[DW_OP_reg10]
- DW$68 .dwtag DW_TAG_assign_register, DW_AT_name("AR2")
- .dwattr DW$68, DW_AT_location[DW_OP_reg11]
- DW$69 .dwtag DW_TAG_assign_register, DW_AT_name("AR3")
- .dwattr DW$69, DW_AT_location[DW_OP_reg12]
- DW$70 .dwtag DW_TAG_assign_register, DW_AT_name("AR4")
- .dwattr DW$70, DW_AT_location[DW_OP_reg13]
- DW$71 .dwtag DW_TAG_assign_register, DW_AT_name("AR5")
- .dwattr DW$71, DW_AT_location[DW_OP_reg14]
- DW$72 .dwtag DW_TAG_assign_register, DW_AT_name("AR6")
- .dwattr DW$72, DW_AT_location[DW_OP_reg15]
- DW$73 .dwtag DW_TAG_assign_register, DW_AT_name("AR7")
- .dwattr DW$73, DW_AT_location[DW_OP_reg16]
- DW$74 .dwtag DW_TAG_assign_register, DW_AT_name("SP")
- .dwattr DW$74, DW_AT_location[DW_OP_reg17]
- DW$75 .dwtag DW_TAG_assign_register, DW_AT_name("FP")
- .dwattr DW$75, DW_AT_location[DW_OP_reg18]
- DW$76 .dwtag DW_TAG_assign_register, DW_AT_name("BK")
- .dwattr DW$76, DW_AT_location[DW_OP_reg19]
- DW$77 .dwtag DW_TAG_assign_register, DW_AT_name("T")
- .dwattr DW$77, DW_AT_location[DW_OP_reg20]
- DW$78 .dwtag DW_TAG_assign_register, DW_AT_name("ASM")
- .dwattr DW$78, DW_AT_location[DW_OP_reg21]
- DW$79 .dwtag DW_TAG_assign_register, DW_AT_name("SXM")
- .dwattr DW$79, DW_AT_location[DW_OP_reg22]
- DW$80 .dwtag DW_TAG_assign_register, DW_AT_name("ST0")
- .dwattr DW$80, DW_AT_location[DW_OP_reg23]
- DW$81 .dwtag DW_TAG_assign_register, DW_AT_name("ST1")
- .dwattr DW$81, DW_AT_location[DW_OP_reg24]
- DW$82 .dwtag DW_TAG_assign_register, DW_AT_name("BRC")
- .dwattr DW$82, DW_AT_location[DW_OP_reg25]
- DW$83 .dwtag DW_TAG_assign_register, DW_AT_name("TC")
- .dwattr DW$83, DW_AT_location[DW_OP_reg26]
- DW$84 .dwtag DW_TAG_assign_register, DW_AT_name("PC")
- .dwattr DW$84, DW_AT_location[DW_OP_reg27]
- DW$85 .dwtag DW_TAG_assign_register, DW_AT_name("DB")
- .dwattr DW$85, DW_AT_location[DW_OP_reg28]
- DW$86 .dwtag DW_TAG_assign_register, DW_AT_name("PMST")
- .dwattr DW$86, DW_AT_location[DW_OP_reg29]
- DW$87 .dwtag DW_TAG_assign_register, DW_AT_name("RSA")
- .dwattr DW$87, DW_AT_location[DW_OP_reg30]
- DW$88 .dwtag DW_TAG_assign_register, DW_AT_name("REA")
- .dwattr DW$88, DW_AT_location[DW_OP_reg31]
- DW$89 .dwtag DW_TAG_assign_register, DW_AT_name("OVM")
- .dwattr DW$89, DW_AT_location[DW_OP_regx 0x20]
- DW$90 .dwtag DW_TAG_assign_register, DW_AT_name("FRCT")
- .dwattr DW$90, DW_AT_location[DW_OP_regx 0x21]
- DW$91 .dwtag DW_TAG_assign_register, DW_AT_name("CIE_RETA")
- .dwattr DW$91, DW_AT_location[DW_OP_regx 0x22]
- .dwendtag DW$CU
-
|