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

📄 triton_ldo_test.asm

📁 OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI的双核处理器
💻 ASM
📖 第 1 页 / 共 5 页
字号:
;******************************************************************************
;* TMS470 C/C++ Codegen                                             PC v4.1.4 *
;* Date/Time created: Wed Jun 25 14:12:05 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_LDO_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


DW$9	.dwtag  DW_TAG_subprogram, DW_AT_name("PM_VRDBB_voltage_controled_by_software"), DW_AT_symbol_name("_PM_VRDBB_voltage_controled_by_software")
	.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$21)
	.dwendtag DW$9


DW$11	.dwtag  DW_TAG_subprogram, DW_AT_name("UART_Printf"), DW_AT_symbol_name("_UART_Printf")
	.dwattr DW$11, DW_AT_declaration(0x01)
	.dwattr DW$11, DW_AT_external(0x01)
DW$12	.dwtag  DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
DW$13	.dwtag  DW_TAG_formal_parameter, DW_AT_type(*DW$T$30)
DW$14	.dwtag  DW_TAG_unspecified_parameters
	.dwendtag DW$11


DW$15	.dwtag  DW_TAG_subprogram, DW_AT_name("UART_GetNum"), DW_AT_symbol_name("_UART_GetNum")
	.dwattr DW$15, DW_AT_type(*DW$T$10)
	.dwattr DW$15, DW_AT_declaration(0x01)
	.dwattr DW$15, DW_AT_external(0x01)
DW$16	.dwtag  DW_TAG_formal_parameter, DW_AT_type(*DW$T$10)
	.dwendtag DW$15


DW$17	.dwtag  DW_TAG_subprogram, DW_AT_name("Tritonsys_Remap_Resources"), DW_AT_symbol_name("_Tritonsys_Remap_Resources")
	.dwattr DW$17, DW_AT_type(*DW$T$10)
	.dwattr DW$17, DW_AT_declaration(0x01)
	.dwattr DW$17, DW_AT_external(0x01)

DW$18	.dwtag  DW_TAG_subprogram, DW_AT_name("MSI2C_MasterPollingSend"), DW_AT_symbol_name("_MSI2C_MasterPollingSend")
	.dwattr DW$18, DW_AT_type(*DW$T$10)
	.dwattr DW$18, DW_AT_declaration(0x01)
	.dwattr DW$18, DW_AT_external(0x01)

DW$19	.dwtag  DW_TAG_subprogram, DW_AT_name("MSI2C_MasterPollingReceive"), DW_AT_symbol_name("_MSI2C_MasterPollingReceive")
	.dwattr DW$19, DW_AT_type(*DW$T$10)
	.dwattr DW$19, DW_AT_declaration(0x01)
	.dwattr DW$19, DW_AT_external(0x01)
DW$20	.dwtag  DW_TAG_variable, DW_AT_name("AbbDeviceAddress"), DW_AT_symbol_name("_AbbDeviceAddress")
	.dwattr DW$20, DW_AT_type(*DW$T$37)
	.dwattr DW$20, DW_AT_declaration(0x01)
	.dwattr DW$20, DW_AT_external(0x01)
;	C:\CCStudio_v3.3\tms470\cgtools\bin\acp470.exe -@C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\TI68812 
;******************************************************************************
;* STRINGS                                                                    *
;******************************************************************************
	.sect	".text"
	.align	4
SL17:	.string	"13 : SETUP VREXTL VOLTAGE TO: 2.8V ",13,10,0
	.align	4
SL18:	.string	"14 : SETUP VRVBUS VOLTAGE TO: 5V   ",13,10,0
	.align	4
SL22:	.string	"18 : SETUP VRDBB  VOLTAGE TO: 1.34V ",13,10,0
	.align	4
SL25:	.string	"21 : SETUP VRDBB  VOLTAGE TO: 1.25V ",13,10,0
	.align	4
SL26:	.string	"22 : SETUP VRDBB  VOLTAGE TO: 1.22V ",13,10,0
	.align	4
SL27:	.string	"23 : SETUP VRDBB  VOLTAGE TO: 1.19V ",13,10,0
	.align	4
SL28:	.string	"24 : SETUP VRDBB  VOLTAGE TO: 1.16V ",13,10,0
	.align	4
SL29:	.string	"25:  SETUP VRDBB  VOLTAGE TO: 1.13V ",13,10,0
	.align	4
SL30:	.string	"26 : SETUP VRDBB  VOLTAGE TO: 1.10V ",13,10,0
	.align	4
SL31:	.string	"27 : SETUP VRDBB  VOLTAGE TO: 1.07V ",13,10,0
	.align	4
SL32:	.string	"28 : SETUP VRDBB  VOLTAGE TO: 1.04V ",13,10,0
	.align	4
SL33:	.string	"29 : SETUP VRDBB  VOLTAGE TO: 1.01V ",13,10,0
	.align	4
SL34:	.string	"30 : SETUP VRDBB  VOLTAGE TO: 1.95V ",13,10,0
	.align	4
SL35:	.string	"31 : SETUP VRSIM  VOLTAGE TO: 0V ",13,10,0
	.align	4
SL36:	.string	"------------------------------------------",10,13,0
	.align	4
SL37:	.string	"Please Enter your choice: ",13,10," ",0
	.sect	".text"
	.align	4
	.clink
	.armfunc _triton_ldo_test
	.state32
	.global	_triton_ldo_test

DW$21	.dwtag  DW_TAG_subprogram, DW_AT_name("triton_ldo_test"), DW_AT_symbol_name("_triton_ldo_test")
	.dwattr DW$21, DW_AT_low_pc(_triton_ldo_test)
	.dwattr DW$21, DW_AT_high_pc(0x00)
	.dwattr DW$21, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$21, DW_AT_begin_line(0x06)
	.dwattr DW$21, DW_AT_begin_column(0x06)
	.dwpsn	"Triton_LDO_test.c",7,1

	.dwfde DW$CIE

;*****************************************************************************
;* FUNCTION NAME: triton_ldo_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 + 12 Auto + 4 Save = 16 byte                 *
;*****************************************************************************
_triton_ldo_test:
;* --------------------------------------------------------------------------*
	.dwcfa	0x0e, 0
	.dwcfa	0x09, 26, 14
        STMFD     SP!, {A2, A3, A4, LR}
	.dwcfa	0x0e, 4
	.dwcfa	0x80, 14, 1
	.dwcfa	0x0e, 8
	.dwcfa	0x80, 3, 2
	.dwcfa	0x0e, 12
	.dwcfa	0x80, 2, 3
	.dwcfa	0x0e, 16
	.dwcfa	0x80, 1, 4
	.dwcfa	0x0e, 16
DW$22	.dwtag  DW_TAG_variable, DW_AT_name("val"), DW_AT_symbol_name("_val")
	.dwattr DW$22, DW_AT_type(*DW$T$9)
	.dwattr DW$22, DW_AT_location[DW_OP_breg13 0]
DW$23	.dwtag  DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
	.dwattr DW$23, DW_AT_type(*DW$T$10)
	.dwattr DW$23, DW_AT_location[DW_OP_breg13 4]
DW$24	.dwtag  DW_TAG_variable, DW_AT_name("i"), DW_AT_symbol_name("_i")
	.dwattr DW$24, DW_AT_type(*DW$T$10)
	.dwattr DW$24, DW_AT_location[DW_OP_breg13 8]
	.dwpsn	"Triton_LDO_test.c",10,3
        MOV       V9, #45               ; |10| 
        LDR       A1, CON1              ; |10| 
        STRH      V9, [A1, #0]          ; |10| 
	.dwpsn	"Triton_LDO_test.c",12,3
        BL        _MSI2C_InitConnectionAbb ; |12| 
        ; |12| 
	.dwpsn	"Triton_LDO_test.c",16,3
        MOV       A1, #1                ; |16| 
        BL        _MSI2C_AccessPage     ; |16| 
        ; |16| 
	.dwpsn	"Triton_LDO_test.c",21,3
        MOV       A1, #24               ; |21| 
        BL        _MSI2C_MasterPollingReceiveAbb ; |21| 
        ; |21| 
        STR       A1, [SP, #4]          ; |21| 
	.dwpsn	"Triton_LDO_test.c",22,3
        LDR       V9, [SP, #4]          ; |22| 
        AND       V9, V9, #2            ; |22| 
        MOV       A1, #24               ; |22| 
        AND       A2, V9, #255
        BL        _MSI2C_MasterPollingSendAbb ; |22| 
        ; |22| 
	.dwpsn	"Triton_LDO_test.c",26,3
        MOV       A1, #26               ; |26| 
        BL        _MSI2C_MasterPollingReceiveAbb ; |26| 
        ; |26| 
        STR       A1, [SP, #4]          ; |26| 
	.dwpsn	"Triton_LDO_test.c",27,3
        LDR       V9, [SP, #4]          ; |27| 
        ORR       V9, V9, #128          ; |27| 
        MOV       A1, #26               ; |27| 
        AND       A2, V9, #255
        BL        _MSI2C_MasterPollingSendAbb ; |27| 
        ; |27| 
	.dwpsn	"Triton_LDO_test.c",33,3
        BL        _Tritonsys_Remap_Resources ; |33| 
        ; |33| 
	.dwpsn	"Triton_LDO_test.c",37,3
        MOV       A1, #15               ; |37| 
        BL        _triton_VRDBB         ; |37| 
        ; |37| 
	.dwpsn	"Triton_LDO_test.c",38,3
        MOV       A1, #3                ; |38| 
        BL        _triton_VRPLL         ; |38| 
        ; |38| 
	.dwpsn	"Triton_LDO_test.c",42,3
        MOV       A1, #1                ; |42| 
        ADR       A2, SL1               ; |42| 
        BL        _UART_Printf          ; |42| 
        ; |42| 
	.dwpsn	"Triton_LDO_test.c",43,3
        ADR       A2, SL2               ; |43| 
        MOV       A1, #1                ; |43| 
        BL        _UART_Printf          ; |43| 
        ; |43| 
;* --------------------------------------------------------------------------*
	.dwpsn	"Triton_LDO_test.c",44,6
        ADR       A2, SL3               ; |44| 
        MOV       A1, #1                ; |44| 
        BL        _UART_Printf          ; |44| 
        ; |44| 
	.dwpsn	"Triton_LDO_test.c",45,6
        ADR       A2, SL2               ; |45| 
        MOV       A1, #1                ; |45| 
        BL        _UART_Printf          ; |45| 
        ; |45| 
	.dwpsn	"Triton_LDO_test.c",46,6
        ADR       A2, SL4               ; |46| 
        MOV       A1, #1                ; |46| 
        BL        _UART_Printf          ; |46| 
        ; |46| 
	.dwpsn	"Triton_LDO_test.c",47,6
        ADR       A2, SL5               ; |47| 
        MOV       A1, #1                ; |47| 
        BL        _UART_Printf          ; |47| 
        ; |47| 
	.dwpsn	"Triton_LDO_test.c",48,6
        ADR       A2, SL6               ; |48| 
        MOV       A1, #1                ; |48| 
        BL        _UART_Printf          ; |48| 
        ; |48| 
	.dwpsn	"Triton_LDO_test.c",49,3
        ADR       A2, SL2               ; |49| 
        MOV       A1, #1                ; |49| 
        BL        _UART_Printf          ; |49| 
        ; |49| 
	.dwpsn	"Triton_LDO_test.c",50,3
        ADR       A2, SL7               ; |50| 
        MOV       A1, #1                ; |50| 
        BL        _UART_Printf          ; |50| 
        ; |50| 
	.dwpsn	"Triton_LDO_test.c",51,4
        ADR       A2, SL8               ; |51| 
        MOV       A1, #1                ; |51| 
        BL        _UART_Printf          ; |51| 
        ; |51| 
	.dwpsn	"Triton_LDO_test.c",52,3
        ADR       A2, SL2               ; |52| 
        MOV       A1, #1                ; |52| 
        BL        _UART_Printf          ; |52| 
        ; |52| 
	.dwpsn	"Triton_LDO_test.c",53,3
        ADR       A2, SL9               ; |53| 
        MOV       A1, #1                ; |53| 
        BL        _UART_Printf          ; |53| 
        ; |53| 
	.dwpsn	"Triton_LDO_test.c",54,3
        ADR       A2, SL10              ; |54| 
        MOV       A1, #1                ; |54| 
        BL        _UART_Printf          ; |54| 
        ; |54| 
;* --------------------------------------------------------------------------*
	.dwpsn	"Triton_LDO_test.c",55,3
        ADR       A2, SL11              ; |55| 
        MOV       A1, #1                ; |55| 
        BL        _UART_Printf          ; |55| 
        ; |55| 
	.dwpsn	"Triton_LDO_test.c",56,3
        ADR       A2, SL2               ; |56| 
        MOV       A1, #1                ; |56| 
        BL        _UART_Printf          ; |56| 
        ; |56| 
	.dwpsn	"Triton_LDO_test.c",57,3
        ADR       A2, SL12              ; |57| 
        MOV       A1, #1                ; |57| 
        BL        _UART_Printf          ; |57| 
        ; |57| 
	.dwpsn	"Triton_LDO_test.c",58,3
        ADR       A2, SL13              ; |58| 
        MOV       A1, #1                ; |58| 
        BL        _UART_Printf          ; |58| 
        ; |58| 
	.dwpsn	"Triton_LDO_test.c",59,3
        ADR       A2, SL2               ; |59| 
        MOV       A1, #1                ; |59| 
        BL        _UART_Printf          ; |59| 
        ; |59| 
	.dwpsn	"Triton_LDO_test.c",60,3
        ADR       A2, SL14              ; |60| 
        MOV       A1, #1                ; |60| 
        BL        _UART_Printf          ; |60| 
        ; |60| 
	.dwpsn	"Triton_LDO_test.c",61,3
        ADR       A2, SL15              ; |61| 
        MOV       A1, #1                ; |61| 
        BL        _UART_Printf          ; |61| 
        ; |61| 
	.dwpsn	"Triton_LDO_test.c",62,3
        ADR       A2, SL16              ; |62| 
        MOV       A1, #1                ; |62| 
        BL        _UART_Printf          ; |62| 
        ; |62| 
	.dwpsn	"Triton_LDO_test.c",63,3
        ADR       A2, SL17              ; |63| 
        MOV       A1, #1                ; |63| 
        BL        _UART_Printf          ; |63| 
        ; |63| 
	.dwpsn	"Triton_LDO_test.c",64,3
        ADR       A2, SL2               ; |64| 
        MOV       A1, #1                ; |64| 
        BL        _UART_Printf          ; |64| 
        ; |64| 
	.dwpsn	"Triton_LDO_test.c",65,3
        ADR       A2, SL18              ; |65| 

⌨️ 快捷键说明

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