Page 1 of 1

Set the Stack Pointer Value

PostPosted: Thu Sep 05, 2019 10:00 am
by SKyd3R
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!