mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Make use of the .align assembler directive in the reg test asm file of the MSP430X/CCS demo.
This commit is contained in:
parent
4b895698ca
commit
7676ec0b66
|
@ -73,7 +73,8 @@
|
|||
|
||||
.text
|
||||
|
||||
vRegTest1Task:
|
||||
.align 2
|
||||
vRegTest1Task: .asmfunc
|
||||
|
||||
; Fill each general purpose register with a known value.
|
||||
mov_x #0x4444, r4
|
||||
|
@ -127,16 +128,16 @@ prvRegTest1Loop:
|
|||
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
|
||||
; /*-----------------------------------------------------------
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue