diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-23 01:43:24 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-23 01:43:24 +0100 |
commit | 2ef104f2358af14339ff632f3457bbb9dbf56d92 (patch) | |
tree | 3f57a106d7739d63d75ee8d7fdd2b98cc500eba5 /vm | |
parent | 20030e364cd869e5651b2e2fb63cfb8881fbf5b7 (diff) | |
download | ovm-2ef104f2358af14339ff632f3457bbb9dbf56d92.tar.gz ovm-2ef104f2358af14339ff632f3457bbb9dbf56d92.tar.bz2 ovm-2ef104f2358af14339ff632f3457bbb9dbf56d92.zip |
Fixed bug in vm_mov(byte|hword) where registers aren't set properly
This is because we just OR the bits into the specific byte of the
word. This means the previous state may leave artefacts as the OR
doesn't clear the bits away.
To do so, we apply a bit mask to clear the specified byte(s) of the
word, then perform the OR.
Diffstat (limited to 'vm')
0 files changed, 0 insertions, 0 deletions