diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-27 20:40:26 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-27 20:40:26 +0100 |
commit | 3e184b0b47d203cd37089296e0c49c9219c83b26 (patch) | |
tree | 9d9891bbded55165c24f597ce082f59f9743d22f /src/insn.rs | |
parent | 7c080806361e23e2e2a528fb391d6bf9c15404f0 (diff) | |
download | juicebox-asm-3e184b0b47d203cd37089296e0c49c9219c83b26.tar.gz juicebox-asm-3e184b0b47d203cd37089296e0c49c9219c83b26.zip |
Move instruction implementation in sub module and introduce insn prelude
Diffstat (limited to 'src/insn.rs')
-rw-r--r-- | src/insn.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/insn.rs b/src/insn.rs index bb1a380..7c74dd9 100644 --- a/src/insn.rs +++ b/src/insn.rs @@ -1,3 +1,7 @@ +mod prelude; + +mod mov; + pub trait Mov<T, U> { fn mov(&mut self, op1: T, op2: U); } |