![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: Global.c
- Revision:
- 134:caf4c9cd5052
- Parent:
- 132:2c7bec5cf6fe
- Child:
- 139:1716152517aa
diff -r 90d0bf0e2996 -r caf4c9cd5052 Global.c --- a/Global.c Wed Apr 13 16:49:22 2016 +0000 +++ b/Global.c Thu Apr 14 14:13:18 2016 +0000 @@ -21,6 +21,12 @@ unsigned int ShiftD; unsigned int ShiftL; +__asm void boot_jump( uint32_t address ){ + LDR SP, [R0] ;Load new stack pointer address + LDR R0, [R0, #4] ;Load new program counter address + BX R0 +} + void GLD_Init(void) { int Dummy; // инициализация мусорки для очистки буфера приема.