]> git.sur5r.net Git - freertos/commitdiff
Make use of the .align assembler directive in the reg test asm file of the MSP430X...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 12 Jan 2011 12:15:03 +0000 (12:15 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 12 Jan 2011 12:15:03 +0000 (12:15 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1241 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm

index e0e4197deecf1139b5c1c0854d4841fd048165c5..e5b118c713515b87e104161a8455df9fc705b39c 100644 (file)
@@ -72,8 +72,9 @@
        .def vRegTest2Task\r
 \r
        .text\r
-\r
-vRegTest1Task:\r
+       \r
+       .align 2\r
+vRegTest1Task: .asmfunc\r
 \r
        ; Fill each general purpose register with a known value.\r
        mov_x   #0x4444, r4\r
@@ -126,17 +127,17 @@ prvRegTest1Loop:
        ; Loop again, performing the same tests.\r
        jmp             prvRegTest1Loop\r
        nop\r
-\r
        \r
 vRegTest1Error:\r
        jmp vRegTest1Error\r
        nop\r
-       \r
+       .endasmfunc     \r
 ; -----------------------------------------------------------\r
 \r
 ; See the comments in vRegTest1Task.  This task is the same, it just uses\r
 ; different values in its registers.\r
-vRegTest2Task:\r
+       .align 2\r
+vRegTest2Task: .asmfunc\r
 \r
        mov_x   #0x4441, r4\r
        mov_x   #0x5551, r5\r
@@ -189,6 +190,7 @@ prvRegTest2Loop:
 vRegTest2Error:\r
        jmp vRegTest2Error\r
        nop\r
+       .endasmfunc\r
 ; /*-----------------------------------------------------------\r
 \r
                \r