From 70585db861e03ec76648070ed4e3fc88b9808c48 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 3 Aug 2020 00:41:49 -0700 Subject: loop{,z,nz}/jecxz --- test/long_mode/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/long_mode/mod.rs b/test/long_mode/mod.rs index 3d38d09..7c4c5fa 100644 --- a/test/long_mode/mod.rs +++ b/test/long_mode/mod.rs @@ -1099,6 +1099,10 @@ fn test_control_flow() { test_display(&[0x67, 0xff, 0xe0], "jmp rax"); test_invalid(&[0xff, 0xd8]); test_display(&[0xff, 0x18], "callf [rax]"); + test_display(&[0xe0, 0x12], "loopnz 0x12"); + test_display(&[0xe1, 0x12], "loopz 0x12"); + test_display(&[0xe2, 0x12], "loop 0x12"); + test_display(&[0xe3, 0x12], "jrcxz 0x12"); test_display(&[0xc3], "ret"); } -- cgit v1.1