imm8 Disassembly slightly incorrect #19688
Labels
area-vm
closed-not-planned
Closed as we don't intend to take action on the reported issue
P3
A lower priority bug or feature request
Code for [Stub] Subtype3TestCache
Kind Dart
Optimized false
Function
Inclusive
Exclusive
Constant object pool
Inclusive
Exclusive
Address
Disassembly
...
0xf6b746d9 cmp edi,0xff
0xf6b746dc jz 0xf6b746e2
...
cmp edi,0xff takes 3 bytes. It must therefore be using the imm8 encoding, where 0xff is sign extended to -1, and not be comparing to 255.
It would be better if the disassembly was "cmp edi,-1"
The text was updated successfully, but these errors were encountered: