projects
/
power-instruction-analyzer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54b65b4
)
swap assembly argument order to be the correct order
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 9 Jul 2020 04:43:15 +0000
(21:43 -0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 9 Jul 2020 04:43:15 +0000
(21:43 -0700)
src/lib.rs
patch
|
blob
|
history
diff --git
a/src/lib.rs
b/src/lib.rs
index ba91f9b8065a6498496ab73de09e9cfc61974637..51f0d164d06552e1409676ec9731e81a47629c3d 100644
(file)
--- 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)*]) => {
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)*]) => {
};
([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)*]) => {
};
([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)*]) => {
};
([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)*])
};
([$($args:ident)*], [ov $($results:ident)*], [$($strings:literal)*]) => {
map_instr_asm_args!([$($args)*], [$($results)*], [$($strings)*])