From 06189a192143b7ef60905f1c45276bb6c7367d90 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 8 Jul 2020 21:43:15 -0700 Subject: [PATCH] swap assembly argument order to be the correct order --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ba91f9b..51f0d16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -182,16 +182,16 @@ macro_rules! map_instr_asm_args { concat!(" ", $string0, $(", ", $strings),*) }; ([$($args:ident)*], [rt $($results:ident)*], [$($strings:literal)*]) => { - map_instr_asm_args!([$($args)*], [$($results)*], ["$0" $($strings)*]) + map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)* "$0"]) }; ([ra $($args:ident)*], [$($results:ident)*], [$($strings:literal)*]) => { - map_instr_asm_args!([$($args)*], [$($results)*], ["$3" $($strings)*]) + map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)* "$3"]) }; ([rb $($args:ident)*], [$($results:ident)*], [$($strings:literal)*]) => { - map_instr_asm_args!([$($args)*], [$($results)*], ["$4" $($strings)*]) + map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)* "$4"]) }; ([rc $($args:ident)*], [$($results:ident)*], [$($strings:literal)*]) => { - map_instr_asm_args!([$($args)*], [$($results)*], ["$5" $($strings)*]) + map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)* "$5"]) }; ([$($args:ident)*], [ov $($results:ident)*], [$($strings:literal)*]) => { map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)*]) -- 2.30.2