Skip to content

Commit

Permalink
Fix warnings from portext.asm while using LARGE_DATA_MODEL
Browse files Browse the repository at this point in the history
  • Loading branch information
moninom1 committed May 9, 2023
1 parent 05522ca commit b7cf3ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portable/CCS/MSP430X/portext.asm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ portSAVE_CONTEXT .macro

;Save the remaining registers.
pushm_x #12, r15
mov.w &usCriticalNesting, r14
mov_x &usCriticalNesting, r14
push_x r14
mov_x &pxCurrentTCB, r12
mov_x sp, 0( r12 )
Expand All @@ -60,7 +60,7 @@ portRESTORE_CONTEXT .macro
mov_x &pxCurrentTCB, r12
mov_x @r12, sp
pop_x r15
mov.w r15, &usCriticalNesting
mov_x r15, &usCriticalNesting
popm_x #12, r15
nop
pop.w sr
Expand Down

0 comments on commit b7cf3ed

Please sign in to comment.