mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-03 04:43:52 -04:00
Continued work on the RX62N GCC demo - just a work in progress currently.
This commit is contained in:
parent
314b692440
commit
0fcac53cf8
14 changed files with 16057 additions and 129 deletions
|
@ -71,18 +71,18 @@ _start:
|
|||
nop
|
||||
|
||||
/* setup PSW */
|
||||
mvtc #10000h, psw /* Set Ubit & Ibit for PSW */
|
||||
// mvtc #10000h, psw /* Set Ubit & Ibit for PSW */
|
||||
|
||||
/* change PSW PM to user-mode */
|
||||
MVFC PSW,R1
|
||||
OR #00100000h,R1
|
||||
PUSH.L R1
|
||||
MVFC PC,R1
|
||||
ADD #10,R1
|
||||
PUSH.L R1
|
||||
RTE
|
||||
NOP
|
||||
NOP
|
||||
// MVFC PSW,R1
|
||||
// OR #00100000h,R1
|
||||
// PUSH.L R1
|
||||
// MVFC PC,R1
|
||||
// ADD #10,R1
|
||||
// PUSH.L R1
|
||||
// RTE
|
||||
// NOP
|
||||
// NOP
|
||||
|
||||
/* start user program */
|
||||
bsr.a _main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue