Hi Richard, On Tue, Feb 09, 2016 at 04:22:34PM +0000, James Hogan wrote: > (gdb) disas/r > Dump of assembler code for function code_gen_buffer: > 0x000000fff30b0064 <+0>: f8 ff 11 8e lw s1,-8(s0) > => 0x000000fff30b0068 <+4>: 08 00 11 60 bnezalc s1,0xfff30b008c Note also that this seems to be the wrong encoding anyway. It is encoding the "and-link" variation which overwrites $31 with PC+4. Cheers James > 0x000000fff30b006c <+8>: 1d c0 c2 08 j 0xfff30b0074 > 0x000000fff30b0070 <+12>: 00 00 00 00 nop > > (gdb) set *0x000000fff30b006c=0 > (gdb) disas/r > Dump of assembler code for function code_gen_buffer: > 0x000000fff30b0064 <+0>: f8 ff 11 8e lw s1,-8(s0) > => 0x000000fff30b0068 <+4>: 08 00 11 60 bnezalc s1,0xfff30b008c > 0x000000fff30b006c <+8>: 00 00 00 00 nop > 0x000000fff30b0070 <+12>: 00 00 00 00 nop