diff options
author | iximeow <me@iximeow.net> | 2020-08-03 00:41:49 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-08-09 01:38:57 -0700 |
commit | 70585db861e03ec76648070ed4e3fc88b9808c48 (patch) | |
tree | e4b4321239131435ccdd93a38d22bc0b0cb695c4 /test/long_mode/mod.rs | |
parent | cb26b3cba6a64989f17e6f1282dca1bf8e42cc08 (diff) |
loop{,z,nz}/jecxz
Diffstat (limited to 'test/long_mode/mod.rs')
-rw-r--r-- | test/long_mode/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } |