summaryrefslogtreecommitdiff
path: root/ports/rxv3/iar/src/tx_thread_interrupt_control.s
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /ports/rxv3/iar/src/tx_thread_interrupt_control.s
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'ports/rxv3/iar/src/tx_thread_interrupt_control.s')
-rw-r--r--ports/rxv3/iar/src/tx_thread_interrupt_control.s19
1 files changed, 11 insertions, 8 deletions
diff --git a/ports/rxv3/iar/src/tx_thread_interrupt_control.s b/ports/rxv3/iar/src/tx_thread_interrupt_control.s
index 8d2923a1..dc37cbd9 100644
--- a/ports/rxv3/iar/src/tx_thread_interrupt_control.s
+++ b/ports/rxv3/iar/src/tx_thread_interrupt_control.s
@@ -34,7 +34,7 @@
;/* FUNCTION RELEASE */
;/* */
;/* _tx_thread_interrupt_control RXv3/IAR */
-;/* 6.1.7 */
+;/* 6.1.9 */
;/* AUTHOR */
;/* */
;/* William E. Lamie, Microsoft Corporation */
@@ -65,6 +65,8 @@
;/* DATE NAME DESCRIPTION */
;/* */
;/* 06-02-2021 William E. Lamie Initial Version 6.1.7 */
+;/* 10-15-2021 William E. Lamie Modified comment(s), */
+;/* resulting in version 6.1.9 */
;/* */
;/**************************************************************************/
;UINT _tx_thread_interrupt_control(UINT new_posture)
@@ -75,19 +77,20 @@ __tx_thread_interrupt_control:
; /* Pickup current interrupt lockout posture. */
;
- MVFC PSW, R2 ; Save PSW to R2
- MOV.L R2, R3 ; Make a copy of PSW in r3
+ MVFC PSW, R2 ; Save PSW to R2
+ MOV.L R2, R3 ; Make a copy of PSW in r3
;
; /* Apply the new interrupt posture. */
;
- BTST #16, R1 ; test I bit of PSW of "new posture"
- BMNE #16, R2 ; conditionally set I bit of intermediate posture
+ BTST #16, R1 ; Test I bit of PSW of "new posture"
+ BMNE #16, R2 ; Conditionally set I bit of intermediate posture
- MVTC R2, PSW ; save intermediate posture to PSW
+ MVTC R2, PSW ; Save intermediate posture to PSW
- MOV.L R3,R1 ; Get original SR
- RTS ; Return to caller
+ MOV.L R3,R1 ; Get original SR
+ RTS ; Return to caller
;}
END
+