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

📄 triton_ldo_test.asm

📁 OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI的双核处理器
💻 ASM
📖 第 1 页 / 共 5 页
字号:
        ; |90| 
;* --------------------------------------------------------------------------*
        ADR       A1, SW1               ; |90| 
        LDR       PC, [A1, +V9, LSL #2] ; |90| 
        ; |90| 
	.align	4
	.align	4
SW1:	.word	L45	; 0
	.word	L1	; 1
	.word	L2	; 2
	.word	L3	; 3
	.word	L10	; 4
	.word	L17	; 5
	.word	L18	; 6
	.word	L19	; 7
	.word	L20	; 8
	.word	L21	; 9
	.word	L22	; 10
	.word	L23	; 11
	.word	L24	; 12
	.word	L25	; 13
	.word	L26	; 14
	.word	L27	; 15
	.word	L28	; 16
	.word	L29	; 17
	.word	L30	; 18
	.word	L31	; 19
	.word	L32	; 20
	.word	L33	; 21
	.word	L34	; 22
	.word	L35	; 23
	.word	L36	; 24
	.word	L37	; 25
	.word	L38	; 26
	.word	L39	; 27
	.word	L40	; 28
	.word	L41	; 29
	.word	L42	; 30
	.word	L43	; 31
	.sect	".text"
;* --------------------------------------------------------------------------*
L45:    
	.dwpsn	"Triton_LDO_test.c",309,1
	.dwcfa	0x0e, 16
        LDMFD     SP!, {A2, A3, A4, PC}

DW$25	.dwtag  DW_TAG_loop
	.dwattr DW$25, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L15:1:1214374325")
	.dwattr DW$25, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$25, DW_AT_begin_line(0x7f)
	.dwattr DW$25, DW_AT_end_line(0x7f)
DW$26	.dwtag  DW_TAG_loop_range
	.dwattr DW$26, DW_AT_low_pc(DW$L$_triton_ldo_test$22$B)
	.dwattr DW$26, DW_AT_high_pc(DW$L$_triton_ldo_test$22$E)
	.dwendtag DW$25


DW$27	.dwtag  DW_TAG_loop
	.dwattr DW$27, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L13:1:1214374325")
	.dwattr DW$27, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$27, DW_AT_begin_line(0x7d)
	.dwattr DW$27, DW_AT_end_line(0x7d)
DW$28	.dwtag  DW_TAG_loop_range
	.dwattr DW$28, DW_AT_low_pc(DW$L$_triton_ldo_test$20$B)
	.dwattr DW$28, DW_AT_high_pc(DW$L$_triton_ldo_test$20$E)
	.dwendtag DW$27


DW$29	.dwtag  DW_TAG_loop
	.dwattr DW$29, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L11:1:1214374325")
	.dwattr DW$29, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$29, DW_AT_begin_line(0x7b)
	.dwattr DW$29, DW_AT_end_line(0x7b)
DW$30	.dwtag  DW_TAG_loop_range
	.dwattr DW$30, DW_AT_low_pc(DW$L$_triton_ldo_test$18$B)
	.dwattr DW$30, DW_AT_high_pc(DW$L$_triton_ldo_test$18$E)
	.dwendtag DW$29


DW$31	.dwtag  DW_TAG_loop
	.dwattr DW$31, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L8:1:1214374325")
	.dwattr DW$31, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$31, DW_AT_begin_line(0x71)
	.dwattr DW$31, DW_AT_end_line(0x71)
DW$32	.dwtag  DW_TAG_loop_range
	.dwattr DW$32, DW_AT_low_pc(DW$L$_triton_ldo_test$15$B)
	.dwattr DW$32, DW_AT_high_pc(DW$L$_triton_ldo_test$15$E)
	.dwendtag DW$31


DW$33	.dwtag  DW_TAG_loop
	.dwattr DW$33, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L6:1:1214374325")
	.dwattr DW$33, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$33, DW_AT_begin_line(0x6f)
	.dwattr DW$33, DW_AT_end_line(0x6f)
DW$34	.dwtag  DW_TAG_loop_range
	.dwattr DW$34, DW_AT_low_pc(DW$L$_triton_ldo_test$13$B)
	.dwattr DW$34, DW_AT_high_pc(DW$L$_triton_ldo_test$13$E)
	.dwendtag DW$33


DW$35	.dwtag  DW_TAG_loop
	.dwattr DW$35, DW_AT_name("D:\src\boston_board_test\ARM\arm_src\Triton_LDO_test.asm:L4:1:1214374325")
	.dwattr DW$35, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$35, DW_AT_begin_line(0x6d)
	.dwattr DW$35, DW_AT_end_line(0x6d)
DW$36	.dwtag  DW_TAG_loop_range
	.dwattr DW$36, DW_AT_low_pc(DW$L$_triton_ldo_test$11$B)
	.dwattr DW$36, DW_AT_high_pc(DW$L$_triton_ldo_test$11$E)
	.dwendtag DW$35

	.dwattr DW$21, DW_AT_end_file("Triton_LDO_test.c")
	.dwattr DW$21, DW_AT_end_line(0x135)
	.dwattr DW$21, DW_AT_end_column(0x01)
	.dwendentry
	.dwendtag DW$21

	.sect	".text"
	.align	4
	.clink
	.armfunc _triton_VRDBB
	.state32
	.global	_triton_VRDBB

DW$37	.dwtag  DW_TAG_subprogram, DW_AT_name("triton_VRDBB"), DW_AT_symbol_name("_triton_VRDBB")
	.dwattr DW$37, DW_AT_low_pc(_triton_VRDBB)
	.dwattr DW$37, DW_AT_high_pc(0x00)
	.dwattr DW$37, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$37, DW_AT_begin_line(0x139)
	.dwattr DW$37, DW_AT_begin_column(0x06)
	.dwpsn	"Triton_LDO_test.c",314,1

	.dwfde DW$CIE

;*****************************************************************************
;* FUNCTION NAME: triton_VRDBB                                               *
;*                                                                           *
;*   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_VRDBB:
;* --------------------------------------------------------------------------*
	.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
;* A1    assigned to _voltage
DW$38	.dwtag  DW_TAG_formal_parameter, DW_AT_name("voltage"), DW_AT_symbol_name("_voltage")
	.dwattr DW$38, DW_AT_type(*DW$T$21)
	.dwattr DW$38, DW_AT_location[DW_OP_reg0]
DW$39	.dwtag  DW_TAG_variable, DW_AT_name("voltage"), DW_AT_symbol_name("_voltage")
	.dwattr DW$39, DW_AT_type(*DW$T$21)
	.dwattr DW$39, DW_AT_location[DW_OP_breg13 0]
        STRB      A1, [SP, #0]          ; |314| 
	.dwpsn	"Triton_LDO_test.c",316,1
        LDRB      A1, [SP, #0]          ; |316| 
        BL        _PM_VRDBB_voltage_controled_by_software ; |316| 
        ; |316| 
	.dwpsn	"Triton_LDO_test.c",320,1
	.dwcfa	0x0e, 8
        LDMFD     SP!, {A4, PC}
	.dwattr DW$37, DW_AT_end_file("Triton_LDO_test.c")
	.dwattr DW$37, DW_AT_end_line(0x140)
	.dwattr DW$37, DW_AT_end_column(0x01)
	.dwendentry
	.dwendtag DW$37

	.sect	".text"
	.align	4
	.clink
	.armfunc _triton_VRPLL
	.state32
	.global	_triton_VRPLL

DW$40	.dwtag  DW_TAG_subprogram, DW_AT_name("triton_VRPLL"), DW_AT_symbol_name("_triton_VRPLL")
	.dwattr DW$40, DW_AT_low_pc(_triton_VRPLL)
	.dwattr DW$40, DW_AT_high_pc(0x00)
	.dwattr DW$40, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$40, DW_AT_begin_line(0x143)
	.dwattr DW$40, DW_AT_begin_column(0x06)
	.dwpsn	"Triton_LDO_test.c",324,1

	.dwfde DW$CIE

;*****************************************************************************
;* FUNCTION NAME: triton_VRPLL                                               *
;*                                                                           *
;*   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 + 8 Auto + 4 Save = 12 byte                  *
;*****************************************************************************
_triton_VRPLL:
;* --------------------------------------------------------------------------*
	.dwcfa	0x0e, 0
	.dwcfa	0x09, 26, 14
        STMFD     SP!, {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, 12
;* A1    assigned to _voltage
DW$41	.dwtag  DW_TAG_formal_parameter, DW_AT_name("voltage"), DW_AT_symbol_name("_voltage")
	.dwattr DW$41, DW_AT_type(*DW$T$21)
	.dwattr DW$41, DW_AT_location[DW_OP_reg0]
DW$42	.dwtag  DW_TAG_variable, DW_AT_name("voltage"), DW_AT_symbol_name("_voltage")
	.dwattr DW$42, DW_AT_type(*DW$T$21)
	.dwattr DW$42, DW_AT_location[DW_OP_breg13 0]
DW$43	.dwtag  DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
	.dwattr DW$43, DW_AT_type(*DW$T$10)
	.dwattr DW$43, DW_AT_location[DW_OP_breg13 4]
        STRB      A1, [SP, #0]          ; |324| 
	.dwpsn	"Triton_LDO_test.c",326,2
        MOV       A1, #1                ; |326| 
        BL        _MSI2C_AccessPage     ; |326| 
        ; |326| 
	.dwpsn	"Triton_LDO_test.c",327,1
        MOV       A1, #84               ; |327| 
        BL        _MSI2C_MasterPollingReceiveAbb ; |327| 
        ; |327| 
        STR       A1, [SP, #4]          ; |327| 
	.dwpsn	"Triton_LDO_test.c",329,9
        LDR       A1, [SP, #4]          ; |329| 
        LDRB      V9, [SP, #0]          ; |329| 
        AND       A1, A1, #252          ; |329| 
        ORR       V9, A1, V9            ; |329| 
        MOV       A1, #84               ; |329| 
        AND       A2, V9, #255
        BL        _MSI2C_MasterPollingSendAbb ; |329| 
        ; |329| 
	.dwpsn	"Triton_LDO_test.c",330,1
	.dwcfa	0x0e, 12
        LDMFD     SP!, {A3, A4, PC}
	.dwattr DW$40, DW_AT_end_file("Triton_LDO_test.c")
	.dwattr DW$40, DW_AT_end_line(0x14a)
	.dwattr DW$40, DW_AT_end_column(0x01)
	.dwendentry
	.dwendtag DW$40

	.sect	".text"
	.align	4
	.clink
	.armfunc _triton_VRMMC_1v8
	.state32
	.global	_triton_VRMMC_1v8

DW$44	.dwtag  DW_TAG_subprogram, DW_AT_name("triton_VRMMC_1v8"), DW_AT_symbol_name("_triton_VRMMC_1v8")
	.dwattr DW$44, DW_AT_low_pc(_triton_VRMMC_1v8)
	.dwattr DW$44, DW_AT_high_pc(0x00)
	.dwattr DW$44, DW_AT_begin_file("Triton_LDO_test.c")
	.dwattr DW$44, DW_AT_begin_line(0x14e)
	.dwattr DW$44, DW_AT_begin_column(0x06)
	.dwpsn	"Triton_LDO_test.c",335,1

	.dwfde DW$CIE

;*****************************************************************************
;* FUNCTION NAME: triton_VRMMC_1v8                                           *
;*                                                                           *
;*   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_VRMMC_1v8:
;* --------------------------------------------------------------------------*
	.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$45	.dwtag  DW_TAG_variable, DW_AT_name("previous_content"), DW_AT_symbol_name("_previous_content")
	.dwattr DW$45, DW_AT_type(*DW$T$10)
	.dwattr DW$45, DW_AT_location[DW_OP_breg13 0]
	.dwpsn	"Triton_LDO_test.c",337,2
        MOV       A1, #1                ; |337| 
        BL        _MSI2C_AccessPage     ; |337| 
        ; |337| 
	.dwpsn	"Triton_LDO_test.c",338,4
        MOV       A1, #76               ; |338| 
        BL        _MSI2C_MasterPollingReceiveAbb ; |338| 
        ; |338| 
        STR       A1, [SP, #0]          ; |338| 
	.dwpsn	"Triton_LDO_test.c",339,3
        MOV       A2, #0                ; |339| 
        MOV       A1, #76               ; |339| 
        BL        _MSI2C_MasterPollingSendAbb ; |339| 
        ; |339| 
	.dwpsn	"Triton_LDO_test.c",342,3
        MOV       A1, #1                ; |342| 
        BL        _MSI2C_AccessPage     ; |342| 
        ; |342| 
	.dwpsn	"Triton_LDO_test.c",344,3
        MOV       A1, #73               ; |344| 
        BL        _MSI2C_MasterPollingReceiveAbb ; |344| 
        ; |344| 
        STR       A1, [SP, #0]          ; |344| 
	.dwpsn	"Triton_LDO_test.c",345,3
        LDR       V9, [SP, #0]          ; |345| 
        ORR       V9, V9, #32           ; |345| 
        MOV       A1, #73               ; |345| 
        AND       A2, V9, #255
        BL        _MSI2C_MasterPollingSendAbb ; |345| 
        ; |345| 
	.dwpsn	"Triton_LDO_test.c",349,1
	.dwcfa	0x0e, 8
        LDMFD     SP!, {A4, PC}
	.dwattr DW$44, DW_AT_end_file("Triton_LDO_test.c")
	.dwattr DW$44, DW_AT_end_line(0x15d)
	.dwattr DW$44, DW_AT_end_column(0x01)
	.dwendentry
	.dwendtag DW$44

	.sect	".text"
	.align	4
	.clink
	.armfunc _triton_VRMMC_2v8
	.state32
	.global	_triton_VRMMC_2v8

DW$46	.dwtag  DW_TAG_subprogram, DW_AT_name("triton_VRMMC_2v8"), DW_AT_symbol_name("_triton_VRMMC_2v8")
	.dwattr DW$46, DW_AT_low_pc(_triton_VRMMC_2v8)

⌨️ 快捷键说明

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