hypervisor: x86: emulate STOS

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2024-07-17 17:27:48 +00:00
committed by Liu Wei
parent 29675cfe68
commit 824e83ab0d
3 changed files with 243 additions and 1 deletions
+6 -1
View File
@@ -536,7 +536,12 @@ impl<'a, T: CpuStateManager> Emulator<'a, T> {
(movs, Movsw_m16_m16),
(movs, Movsb_m8_m8),
// OR
(or, Or_rm8_r8)
(or, Or_rm8_r8),
// STOS
(stos, Stosb_m8_AL),
(stos, Stosw_m16_AX),
(stos, Stosd_m32_EAX),
(stos, Stosq_m64_RAX)
);
handler