Set the Stack Pointer Value

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Set the Stack Pointer Value

Postby SKyd3R » Thu Sep 05, 2019 10:00 am

Hello!

I'm trying to modify the stack pointer value of an eCore but I'm unable to perform that action.

I have tried the C function
Code: Select all
e_reg_writer(E_REG_R13)
and also the asm instruction move
Code: Select all
r13, 0x7fe8
and also de
Code: Select all
move sp, 0x7fe8
. But after the execution the e_reg_read doesn't change at all (I have also tried another addresses just in case).

Is there any way to modify the stack pointer register?

Greetings!
SKyd3R
 
Posts: 10
Joined: Mon Apr 03, 2017 7:26 am

Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 8 guests

cron