![]() |
Energy Micro IEC60355 Library Project 1.037 GCC-Version
IEC60355 Library documentation and API
|
assemble based POST CPU register test for GCC compiler ; * IEC60335 Class B CPU register tests ; * More...
Go to the source code of this file.
Variables | |
| text syntax unified global ASMCPUregTestPOST type | ASMCPUregTestPOST |
| text syntax unified global ASMCPUregTestPOST type function equ | testState |
| text syntax unified global ASMCPUregTestPOST type function equ equ | testResult |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ | pattern1 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ | pattern2 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ | pattern3 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ | pattern4 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ | pattern5 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ | pattern6 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ | pattern7 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ | pattern8 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ | TestClear |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ | TestState_r0 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ | TestState_r1r7 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestState_r8r12 |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStateMSP |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStatePSP |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStateLR |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStateAPSR |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStatePRIMASK |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStateFAULTMASK |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestStateBASEPRI |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestResult_fail |
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ | TestResult_pass |
| lr cmp | r12 |
| lr cmp lr bne w | Test_CPU_SFR_fail |
| ldr | r0 |
| ldr str | Test_r0 |
| movw movt lsr cmp bne w | Test_r0_Exit |
| Test_r0_pass | __pad10__ |
| b Test_r1_r7 | Test_r1_r7 |
| ldr | r8 = pattern1 |
| ldr orr r7 str ldr mov | r1 = pattern1 |
| ldr orr r7 str ldr mov r0 mov | r2 |
| ldr orr r7 str ldr mov r0 mov r0 mov | r3 |
| ldr orr r7 str ldr mov r0 mov r0 mov r0 mov | r4 |
| ldr orr r7 str ldr mov r0 mov r0 mov r0 mov r0 mov | r5 |
| ldr orr r7 str ldr mov r0 mov r0 mov r0 mov r0 mov r0 mov | r6 |
| ldr orr r7 str ldr mov r0 mov r0 mov r0 mov r0 mov r0 mov r0 mov | r7 |
| cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w | Test_r1_r7_Exit |
| cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit | Test_r1_r7_pass |
| b | Test_r8_r12 |
| Test_r8_r12 | __pad11__ |
| ldr orr r7 str ldr mov r0 mov | r9 |
| ldr orr r7 str ldr mov r0 mov r0 mov | r10 |
| ldr orr r7 str ldr mov r0 mov r0 mov r0 mov | r11 |
| cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w | Test_r8_r12_Exit |
| cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit | Test_r8_r12_pass |
| Test_MSP | __pad12__ |
| mrs | CONTROL |
| mov | r13 |
| mrs MSP cmp r5 bne | Test_MSP_Exit |
| ldr r0 mrs | MSP |
| cmp r0 bne Test_MSP_Exit | Test_MSP_pass |
| Test_PSP | __pad13__ |
| mrs | PSP |
| mrs PSP cmp r5 bne | Test_PSP_Exit |
| cmp r0 bne Test_PSP_Exit | Test_PSP_pass |
| Test_LR | __pad14__ |
| mov | r14 |
| cmp r0 bne | Test_LR_Exit |
| cmp r0 bne Test_LR_Exit | Test_LR_pass |
| Test_APSR | __pad15__ |
| mrs | APSR |
| mrs APSR cmp r0 bne | Test_APSR_Exit |
| mrs APSR cmp r0 bne Test_APSR_Exit | Test_APSR_pass |
| Test_PRIMASK | __pad16__ |
| mrs | PRIMASK |
| mrs PRIMASK cmp r0 bne | Test_PRIMASK_Exit |
| mrs PRIMASK cmp r0 bne Test_PRIMASK_Exit | Test_PRIMASK_pass |
| Test_FAULTMASK | __pad17__ |
| mrs | FAULTMASK |
| mrs FAULTMASK cmp r0 bne | Test_FAULTMASK_Exit |
| mrs FAULTMASK cmp r0 bne Test_FAULTMASK_Exit | Test_FAULTMASK_pass |
| Test_BASEPRI | __pad18__ |
| mrs | BASEPRI |
| mrs BASEPRI cmp r0 bne | Test_BASEPRI_Exit |
| mrs BASEPRI cmp r0 bne Test_BASEPRI_Exit | Test_BASEPRI_pass |
| ldr | Test_CPU_SFR_Exit |
| bx | lr |
assemble based POST CPU register test for GCC compiler ; * IEC60335 Class B CPU register tests ; *
; * ; *
; * (C) Copyright 2010 Energy Micro AS, http://www.energymicro.com ; ******************************************************************************* ; * ; * This source code is the property of Energy Micro AS. The source and compiled ; * code may only be used on Energy Micro "EFM32" microcontrollers. ; * ; * This copyright notice may not be removed from the source code nor changed. ; * ; * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no ; * obligation to support this Software. Energy Micro AS is providing the ; * Software "AS IS", with no express or implied warranties of any kind, ; * including, but not limited to, any implied warranties of merchantability ; * or fitness for any particular purpose or warranties against infringement ; * of any proprietary rights of a third party. ; * ; * Energy Micro AS will not be liable for any consequential, incidental, or ; * special damages, or any other relief, or for any claim by any third party, ; * arising from your use of this Software. ; * ;
Definition in file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 135 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 211 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 280 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 354 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 429 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 472 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 519 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 564 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 609 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr APSR |
Definition at line 480 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ thumb thumb_func ASMCPUregTestPOST |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr BASEPRI |
Definition at line 617 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 289 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr FAULTMASK |
Definition at line 571 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| bx lr |
Definition at line 666 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 324 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ pattern7 |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ pattern8 |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr PRIMASK |
Definition at line 526 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr PSP |
Definition at line 376 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| ldr r0 |
Definition at line 74 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r10 |
Definition at line 228 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r11 |
Definition at line 228 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mov r12 |
Definition at line 69 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r13 |
Definition at line 302 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mov r14 |
Definition at line 436 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r1_r7_Exit cmp r2 |
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr r3 |
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mrs r5 |
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r7 |
Definition at line 154 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 147 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r8_r12_Exit cmp r9 |
Definition at line 228 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 493 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mrs APSR cmp r0 bne Test_APSR_Exit Test_APSR_pass |
Definition at line 501 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 630 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mrs BASEPRI cmp r0 bne Test_BASEPRI_Exit Test_BASEPRI_pass |
Definition at line 638 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 660 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr r3 b Test_CPU_SFR_fail |
Definition at line 69 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 584 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mrs FAULTMASK cmp r0 bne Test_FAULTMASK_Exit Test_FAULTMASK_pass |
Definition at line 592 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 449 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne Test_LR_Exit Test_LR_pass |
Definition at line 456 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 305 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne Test_MSP_Exit Test_MSP_pass |
Definition at line 336 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 539 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| mrs PRIMASK cmp r0 bne Test_PRIMASK_Exit Test_PRIMASK_pass |
Definition at line 547 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 379 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne Test_PSP_Exit Test_PSP_pass |
Definition at line 411 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| ldr str Test_r0 |
Definition at line 76 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| msr r3 b Test_CPU_SFR_fail Test_r0_Exit |
Definition at line 85 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 139 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit |
Definition at line 164 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit cmp r0 bne w Test_r1_r7_Exit Test_r1_r7_pass |
Definition at line 190 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 209 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 236 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit cmp r0 bne w Test_r8_r12_Exit Test_r8_r12_pass |
Definition at line 256 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ TestClear |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ testResult |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestResult_fail |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestResult_pass |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ TestState_r0 |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ TestState_r1r7 |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestState_r8r12 |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStateAPSR |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStateBASEPRI |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStateFAULTMASK |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStateLR |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStateMSP |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStatePRIMASK |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.
| text syntax unified global ASMCPUregTestPOST type function equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ equ TestStatePSP |
Definition at line 34 of file iec60335_class_b_cpureg_test_post_gcc.asm.