From ea8888c84c73f73ac17006539b86f0ef800d80b6 Mon Sep 17 00:00:00 2001 From: iximeow Date: Mon, 27 Dec 2021 17:23:18 -0800 Subject: more tests that were inaccurate --- test/armv8/a64.rs | 6 +++--- 1 file 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" ); } -- cgit v1.1