On 1 Apr 2021, at 12:19, Anup Patel <anup.patel at wdc.com> wrote: > > The "add sp, a0, zero" instruction in the trap restore path is redundant > and can be avoided if TRAP_RESTORE_xyz() assembly macros use a0 as the > base register instead of sp. Are interrupts disabled at this point? Jess