diff --git a/rbutil/mkamsboot/mkamsboot.c b/rbutil/mkamsboot/mkamsboot.c
index 2897e48..d321a73 100644
--- a/rbutil/mkamsboot/mkamsboot.c
+++ b/rbutil/mkamsboot/mkamsboot.c
@@ -484,6 +484,10 @@ void patch_firmware(
for (i=1; i < 8; i++)
memcpy(buf + 0x400 + 4*i, b_1b, sizeof(b_1b));

+ static const uint8_t mov_pc_0x0[4] = { 0xe3, 0xa0, 0xf0, 0x00 }; // mov pc, #0
+ for (i=1; i < 128; i++)
+ memcpy(buf + 0x400 + 4*i, mov_pc_0x0, 4);
+
/* We are filling the firmware buffer backwards from the end */
p = buf + 0x400 + firmware_size;