diff options
author | iximeow <me@iximeow.net> | 2021-12-27 17:23:18 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-12-27 17:23:18 -0800 |
commit | ea8888c84c73f73ac17006539b86f0ef800d80b6 (patch) | |
tree | ab4161e75bb09a7716841c9bc19a40101724b7bd | |
parent | 1af092dc3d9beda01fcc464b761eb3ec35e1770e (diff) |
more tests that were inaccurate
-rw-r--r-- | test/armv8/a64.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/armv8/a64.rs b/test/armv8/a64.rs index 13b0d1d..1659327 100644 --- a/test/armv8/a64.rs +++ b/test/armv8/a64.rs @@ -124,7 +124,7 @@ fn test_decode_misc() { opcode: Opcode::ADRP, operands: [ Operand::Register(SizeCode::X, 2), - Operand::Immediate(0x8725000), + Operand::Offset(0x8725000), Operand::Nothing, Operand::Nothing ] @@ -140,11 +140,11 @@ fn test_decode_misc() { ); test_display( [0x1d, 0xff, 0xff, 0xd2], - "mov x29, 0xfff8, lsl 48" + "mov x29, 0xfff8000000000000" ); test_display( [0x22, 0x39, 0x04, 0xb0], - "adrp x2, 0x8725000" + "adrp x2, $+0x8725000" ); } |