diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-27 21:00:26 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-27 21:00:26 +0100 |
commit | 957663f5d483b1abaa3f5af25e32c274218319d5 (patch) | |
tree | 8c52595b3307889094005c46bf46aa98b17384f5 /src/insn | |
parent | 3e184b0b47d203cd37089296e0c49c9219c83b26 (diff) | |
download | juicebox-asm-957663f5d483b1abaa3f5af25e32c274218319d5.tar.gz juicebox-asm-957663f5d483b1abaa3f5af25e32c274218319d5.zip |
Move prelude to crate level and make public
Diffstat (limited to 'src/insn')
-rw-r--r-- | src/insn/mov.rs | 2 | ||||
-rw-r--r-- | src/insn/prelude.rs | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/insn/mov.rs b/src/insn/mov.rs index d930ade..bf1c33e 100644 --- a/src/insn/mov.rs +++ b/src/insn/mov.rs @@ -1,4 +1,4 @@ -use super::prelude::*; +use crate::prelude::*; // -- MOV : reg reg diff --git a/src/insn/prelude.rs b/src/insn/prelude.rs deleted file mode 100644 index 703417a..0000000 --- a/src/insn/prelude.rs +++ /dev/null @@ -1,6 +0,0 @@ -pub use crate::Asm; -pub use crate::MemOp; -pub use crate::{Imm16, Imm32, Imm64, Imm8}; -pub use crate::{Reg16, Reg32, Reg64, Reg8}; - -pub use crate::insn::Mov; |