From 581c5c9e535201bb32a7e2b175c3b3fef76a796a Mon Sep 17 00:00:00 2001 From: richardbarry Date: Wed, 12 Jan 2011 12:15:03 +0000 Subject: [PATCH] Make use of the .align assembler directive in the reg test asm file of the MSP430X/CCS demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1241 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm b/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm index e0e4197de..e5b118c71 100644 --- a/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm +++ b/Demo/MSP430X_MSP430F5438_CCS4/Demo_Source/RegTest.asm @@ -72,8 +72,9 @@ .def vRegTest2Task .text - -vRegTest1Task: + + .align 2 +vRegTest1Task: .asmfunc ; Fill each general purpose register with a known value. mov_x #0x4444, r4 @@ -126,17 +127,17 @@ prvRegTest1Loop: ; Loop again, performing the same tests. jmp prvRegTest1Loop nop - vRegTest1Error: jmp vRegTest1Error nop - + .endasmfunc ; ----------------------------------------------------------- ; See the comments in vRegTest1Task. This task is the same, it just uses ; different values in its registers. -vRegTest2Task: + .align 2 +vRegTest2Task: .asmfunc mov_x #0x4441, r4 mov_x #0x5551, r5 @@ -189,6 +190,7 @@ prvRegTest2Loop: vRegTest2Error: jmp vRegTest2Error nop + .endasmfunc ; /*----------------------------------------------------------- -- 2.39.5