task: ASM reg func self modifying

Implement registers_save/registers_restore in task module to be self modifying
assembly code. This reduces task module code size by 288 bytes.

Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>
1 file changed