comment
This commit is contained in:
@@ -38,6 +38,7 @@ impl Code {
|
||||
}
|
||||
self.prefix16(dst);
|
||||
if dst.width() == Width::B64 && src_width <= Width::B32 && src.0 < 0 {
|
||||
// use different op that sign extends for less bytes
|
||||
self.bytes
|
||||
.extend([rex(dst.width(), 0, 0, dst), 0xc7, 0xc0 | dst.base()]);
|
||||
self.imm(src, Width::B32);
|
||||
|
||||
Reference in New Issue
Block a user