Ticket #7285 (closed defect: fixed)
stosw fails with std in real mode => Fixed in SVN
|Reported by:||jtrindade||Owned by:|
|Version:||VirtualBox 3.2.6||Keywords:||stosw, std|
At least in real mode, the string instruction "stosw" presents an incorrect behaviour when the direction flag is set.
I have observed this behaviour while testing boot code of a personal OS. The same code works fine in Bochs 2.3.7 for Linux, QEMU 0.12.2 for Windows and VMware Player 3.1.0 for Windows.
Attached: 1) Binary image of an 1.44M floppy with said behaviour in its boot sector 2) Source code for the boot sector
- Summary changed from stosw fails with std in real mode to stosw fails with std in real mode => Fixed in SVN