triton_wled_test.asm
来自「OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI」· 汇编 代码 · 共 946 行 · 第 1/3 页
ASM
946 行
;******************************************************************************
;* TMS470 C/C++ Codegen PC v4.1.4 *
;* Date/Time created: Wed Jun 25 14:12:09 2008 *
;******************************************************************************
.compiler_opts --abi=ti_arm9_abi --endian=little --float_support=fpalib --quiet --silicon_version=5e
.state32
DW$CU .dwtag DW_TAG_compile_unit
.dwattr DW$CU, DW_AT_name("Triton_WLED_test.c")
.dwattr DW$CU, DW_AT_producer("TMS470 C/C++ Codegen PC v4.1.4 Copyright (c) 1996-2006 Texas Instruments Incorporated")
.dwattr DW$CU, DW_AT_stmt_list(0x00)
.dwattr DW$CU, DW_AT_TI_VERSION(0x01)
DW$1 .dwtag DW_TAG_subprogram, DW_AT_name("MSI2C_InitConnectionAbb"), DW_AT_symbol_name("_MSI2C_InitConnectionAbb")
.dwattr DW$1, DW_AT_declaration(0x01)
.dwattr DW$1, DW_AT_external(0x01)
DW$2 .dwtag DW_TAG_subprogram, DW_AT_name("MSI2C_MasterPollingReceiveAbb"), DW_AT_symbol_name("_MSI2C_MasterPollingReceiveAbb")
.dwattr DW$2, DW_AT_type(*DW$T$21)
.dwattr DW$2, DW_AT_declaration(0x01)
.dwattr DW$2, DW_AT_external(0x01)
DW$3 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$21)
.dwendtag DW$2
DW$4 .dwtag DW_TAG_subprogram, DW_AT_name("MSI2C_MasterPollingSendAbb"), DW_AT_symbol_name("_MSI2C_MasterPollingSendAbb")
.dwattr DW$4, DW_AT_declaration(0x01)
.dwattr DW$4, DW_AT_external(0x01)
DW$5 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$21)
DW$6 .dwtag DW_TAG_formal_parameter, DW_AT_type(*DW$T$21)
.dwendtag DW$4
DW$7 .dwtag DW_TAG_subprogram, DW_AT_name("MSI2C_AccessPage"), DW_AT_symbol_name("_MSI2C_AccessPage")
.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$24)
.dwendtag DW$7
; C:\CCStudio_v3.3\tms470\cgtools\bin\acp470.exe -@C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\TI28412
.sect ".text"
.align 4
.clink
.armfunc _triton_WLED_test
.state32
.global _triton_WLED_test
DW$9 .dwtag DW_TAG_subprogram, DW_AT_name("triton_WLED_test"), DW_AT_symbol_name("_triton_WLED_test")
.dwattr DW$9, DW_AT_low_pc(_triton_WLED_test)
.dwattr DW$9, DW_AT_high_pc(0x00)
.dwattr DW$9, DW_AT_begin_file("Triton_WLED_test.c")
.dwattr DW$9, DW_AT_begin_line(0x06)
.dwattr DW$9, DW_AT_begin_column(0x06)
.dwpsn "Triton_WLED_test.c",7,1
.dwfde DW$CIE
;*****************************************************************************
;* FUNCTION NAME: triton_WLED_test *
;* *
;* Regs Modified : A1,A2,A3,A4,V9,SP,LR,SR *
;* Regs Used : A1,A2,A3,A4,V9,SP,LR,SR *
;* Local Frame Size : 0 Args + 0 Auto + 4 Save = 4 byte *
;*****************************************************************************
_triton_WLED_test:
;* --------------------------------------------------------------------------*
.dwcfa 0x0e, 0
.dwcfa 0x09, 26, 14
STMFD SP!, {LR}
.dwcfa 0x0e, 4
.dwcfa 0x80, 14, 1
.dwcfa 0x0e, 4
.dwpsn "Triton_WLED_test.c",9,2
BL _MSI2C_InitConnectionAbb ; |9|
; |9|
.dwpsn "Triton_WLED_test.c",10,1
BL _triton_WLED_A_enable ; |10|
; |10|
.dwpsn "Triton_WLED_test.c",11,1
MOV A1, #1 ; |11|
BL _triton_WLED_A_control ; |11|
; |11|
.dwpsn "Triton_WLED_test.c",12,1
MOV A1, #2 ; |12|
BL _triton_WLED_A_control ; |12|
; |12|
.dwpsn "Triton_WLED_test.c",13,1
MOV A1, #3 ; |13|
BL _triton_WLED_A_control ; |13|
; |13|
.dwpsn "Triton_WLED_test.c",17,2
BL _triton_WLED_B_enable ; |17|
; |17|
.dwpsn "Triton_WLED_test.c",20,1
MOV A1, #1 ; |20|
BL _triton_WLED_B_control ; |20|
; |20|
.dwpsn "Triton_WLED_test.c",21,1
MOV A1, #2 ; |21|
BL _triton_WLED_B_control ; |21|
; |21|
.dwpsn "Triton_WLED_test.c",22,1
MOV A1, #3 ; |22|
BL _triton_WLED_B_control ; |22|
; |22|
.dwpsn "Triton_WLED_test.c",23,1
MOV A1, #4 ; |23|
BL _triton_WLED_B_control ; |23|
; |23|
.dwpsn "Triton_WLED_test.c",30,1
.dwcfa 0x0e, 4
LDMFD SP!, {PC}
.dwattr DW$9, DW_AT_end_file("Triton_WLED_test.c")
.dwattr DW$9, DW_AT_end_line(0x1e)
.dwattr DW$9, DW_AT_end_column(0x01)
.dwendentry
.dwendtag DW$9
.sect ".text"
.align 4
.clink
.armfunc _triton_WLED_A_enable
.state32
.global _triton_WLED_A_enable
DW$10 .dwtag DW_TAG_subprogram, DW_AT_name("triton_WLED_A_enable"), DW_AT_symbol_name("_triton_WLED_A_enable")
.dwattr DW$10, DW_AT_low_pc(_triton_WLED_A_enable)
.dwattr DW$10, DW_AT_high_pc(0x00)
.dwattr DW$10, DW_AT_begin_file("Triton_WLED_test.c")
.dwattr DW$10, DW_AT_begin_line(0x23)
.dwattr DW$10, DW_AT_begin_column(0x06)
.dwpsn "Triton_WLED_test.c",36,1
.dwfde DW$CIE
;*****************************************************************************
;* FUNCTION NAME: triton_WLED_A_enable *
;* *
;* Regs Modified : A1,A2,A3,A4,V9,SP,LR,SR *
;* Regs Used : A1,A2,A3,A4,V9,SP,LR,SR *
;* Local Frame Size : 0 Args + 4 Auto + 4 Save = 8 byte *
;*****************************************************************************
_triton_WLED_A_enable:
;* --------------------------------------------------------------------------*
.dwcfa 0x0e, 0
.dwcfa 0x09, 26, 14
STMFD SP!, {A4, LR}
.dwcfa 0x0e, 4
.dwcfa 0x80, 14, 1
.dwcfa 0x0e, 8
.dwcfa 0x80, 3, 2
.dwcfa 0x0e, 8
DW$11 .dwtag DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
.dwattr DW$11, DW_AT_type(*DW$T$10)
.dwattr DW$11, DW_AT_location[DW_OP_breg13 0]
.dwpsn "Triton_WLED_test.c",38,1
MOV A1, #0 ; |38|
BL _MSI2C_AccessPage ; |38|
; |38|
.dwpsn "Triton_WLED_test.c",39,3
MOV A1, #106 ; |39|
BL _MSI2C_MasterPollingReceiveAbb ; |39|
; |39|
STR A1, [SP, #0] ; |39|
.dwpsn "Triton_WLED_test.c",40,2
MOV A2, #2 ; |40|
MOV A1, #105 ; |40|
BL _MSI2C_MasterPollingSendAbb ; |40|
; |40|
.dwpsn "Triton_WLED_test.c",41,1
.dwcfa 0x0e, 8
LDMFD SP!, {A4, PC}
.dwattr DW$10, DW_AT_end_file("Triton_WLED_test.c")
.dwattr DW$10, DW_AT_end_line(0x29)
.dwattr DW$10, DW_AT_end_column(0x01)
.dwendentry
.dwendtag DW$10
.sect ".text"
.align 4
.clink
.armfunc _triton_WLED_B_enable
.state32
.global _triton_WLED_B_enable
DW$12 .dwtag DW_TAG_subprogram, DW_AT_name("triton_WLED_B_enable"), DW_AT_symbol_name("_triton_WLED_B_enable")
.dwattr DW$12, DW_AT_low_pc(_triton_WLED_B_enable)
.dwattr DW$12, DW_AT_high_pc(0x00)
.dwattr DW$12, DW_AT_begin_file("Triton_WLED_test.c")
.dwattr DW$12, DW_AT_begin_line(0x2b)
.dwattr DW$12, DW_AT_begin_column(0x06)
.dwpsn "Triton_WLED_test.c",44,1
.dwfde DW$CIE
;*****************************************************************************
;* FUNCTION NAME: triton_WLED_B_enable *
;* *
;* Regs Modified : A1,A2,A3,A4,V9,SP,LR,SR *
;* Regs Used : A1,A2,A3,A4,V9,SP,LR,SR *
;* Local Frame Size : 0 Args + 4 Auto + 4 Save = 8 byte *
;*****************************************************************************
_triton_WLED_B_enable:
;* --------------------------------------------------------------------------*
.dwcfa 0x0e, 0
.dwcfa 0x09, 26, 14
STMFD SP!, {A4, LR}
.dwcfa 0x0e, 4
.dwcfa 0x80, 14, 1
.dwcfa 0x0e, 8
.dwcfa 0x80, 3, 2
.dwcfa 0x0e, 8
DW$13 .dwtag DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
.dwattr DW$13, DW_AT_type(*DW$T$10)
.dwattr DW$13, DW_AT_location[DW_OP_breg13 0]
.dwpsn "Triton_WLED_test.c",46,1
MOV A1, #0 ; |46|
BL _MSI2C_AccessPage ; |46|
; |46|
.dwpsn "Triton_WLED_test.c",47,3
MOV A1, #106 ; |47|
BL _MSI2C_MasterPollingReceiveAbb ; |47|
; |47|
STR A1, [SP, #0] ; |47|
.dwpsn "Triton_WLED_test.c",48,2
MOV A2, #8 ; |48|
MOV A1, #105 ; |48|
BL _MSI2C_MasterPollingSendAbb ; |48|
; |48|
.dwpsn "Triton_WLED_test.c",49,1
.dwcfa 0x0e, 8
LDMFD SP!, {A4, PC}
.dwattr DW$12, DW_AT_end_file("Triton_WLED_test.c")
.dwattr DW$12, DW_AT_end_line(0x31)
.dwattr DW$12, DW_AT_end_column(0x01)
.dwendentry
.dwendtag DW$12
.sect ".text"
.align 4
.clink
.armfunc _triton_WLED_C_enable
.state32
.global _triton_WLED_C_enable
DW$14 .dwtag DW_TAG_subprogram, DW_AT_name("triton_WLED_C_enable"), DW_AT_symbol_name("_triton_WLED_C_enable")
.dwattr DW$14, DW_AT_low_pc(_triton_WLED_C_enable)
.dwattr DW$14, DW_AT_high_pc(0x00)
.dwattr DW$14, DW_AT_begin_file("Triton_WLED_test.c")
.dwattr DW$14, DW_AT_begin_line(0x32)
.dwattr DW$14, DW_AT_begin_column(0x06)
.dwpsn "Triton_WLED_test.c",51,1
.dwfde DW$CIE
;*****************************************************************************
;* FUNCTION NAME: triton_WLED_C_enable *
;* *
;* Regs Modified : A1,A2,A3,A4,V9,SP,LR,SR *
;* Regs Used : A1,A2,A3,A4,V9,SP,LR,SR *
;* Local Frame Size : 0 Args + 4 Auto + 4 Save = 8 byte *
;*****************************************************************************
_triton_WLED_C_enable:
;* --------------------------------------------------------------------------*
.dwcfa 0x0e, 0
.dwcfa 0x09, 26, 14
STMFD SP!, {A4, LR}
.dwcfa 0x0e, 4
.dwcfa 0x80, 14, 1
.dwcfa 0x0e, 8
.dwcfa 0x80, 3, 2
.dwcfa 0x0e, 8
DW$15 .dwtag DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
.dwattr DW$15, DW_AT_type(*DW$T$10)
.dwattr DW$15, DW_AT_location[DW_OP_breg13 0]
.dwpsn "Triton_WLED_test.c",53,1
MOV A1, #0 ; |53|
BL _MSI2C_AccessPage ; |53|
; |53|
.dwpsn "Triton_WLED_test.c",54,3
MOV A1, #106 ; |54|
BL _MSI2C_MasterPollingReceiveAbb ; |54|
; |54|
STR A1, [SP, #0] ; |54|
.dwpsn "Triton_WLED_test.c",55,2
MOV A2, #32 ; |55|
MOV A1, #105 ; |55|
BL _MSI2C_MasterPollingSendAbb ; |55|
; |55|
.dwpsn "Triton_WLED_test.c",56,1
.dwcfa 0x0e, 8
LDMFD SP!, {A4, PC}
.dwattr DW$14, DW_AT_end_file("Triton_WLED_test.c")
.dwattr DW$14, DW_AT_end_line(0x38)
.dwattr DW$14, DW_AT_end_column(0x01)
.dwendentry
.dwendtag DW$14
.sect ".text"
.align 4
.clink
.armfunc _triton_WLED_A_B_C_enable
.state32
.global _triton_WLED_A_B_C_enable
DW$16 .dwtag DW_TAG_subprogram, DW_AT_name("triton_WLED_A_B_C_enable"), DW_AT_symbol_name("_triton_WLED_A_B_C_enable")
.dwattr DW$16, DW_AT_low_pc(_triton_WLED_A_B_C_enable)
.dwattr DW$16, DW_AT_high_pc(0x00)
.dwattr DW$16, DW_AT_begin_file("Triton_WLED_test.c")
.dwattr DW$16, DW_AT_begin_line(0x3a)
.dwattr DW$16, DW_AT_begin_column(0x06)
.dwpsn "Triton_WLED_test.c",60,1
.dwfde DW$CIE
;*****************************************************************************
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?