keystone icon indicating copy to clipboard operation
keystone copied to clipboard

Incorrect assemble: null bytes (nop) after bne

Open enty8080 opened this issue 4 years ago • 1 comments

This piece of code:

bne $s1, $s0, 68

In bytes looks like:

00000000  16 30 00 10 00 00 00 00                          |.0......        |

But there should not be 00 00 00 00, because there is no nop in code. Keystone adding null bytes after bne, but should not.

P.S. Disassembler said that 16 30 00 10 is enough and 00 00 00 00 is just nop:

bne $s1, $s0, 68
nop

enty8080 avatar Feb 10 '22 14:02 enty8080

Is there anyone alive?

enty8080 avatar Feb 20 '22 21:02 enty8080