First post, by superfury
I've been watching https://youtu.be/en_7DtfT8Cg . But when it gets to negative bit indexes it strikes me as odd.
According to all documentation(x86/x86_64/80386 programmer's ref. manual) the imm8 and r16/32 are unsigned values, not signed as he expains?
Although, it would cause problems when accessing BT [EAX],-1 when EAX=1. Since it would try to read a doubleword at offset FFFFFFFD, which isn't your data and might not be a valid offset, segfaulting/pagefaulting/IO device access? Actually, it would always throw #GP(0) due to segmentation limit of 4G being broken(at offset 4G(64-bit)/0(truncated 32-bit)) for the 32-bit memory read?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io