Skip to content

Commit

Permalink
Immplement or instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
xarantolus committed Feb 23, 2024
1 parent 8af98c5 commit 3ab312e
Show file tree
Hide file tree
Showing 3 changed files with 1,378 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/auto/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ impl Axecutor {
Neg => self.mnemonic_neg(i),
Nop => self.mnemonic_nop(i),
Not => self.mnemonic_not(i),
Or => self.mnemonic_or(i),
Pop => self.mnemonic_pop(i),
Push => self.mnemonic_push(i),
Ret => self.mnemonic_ret(i),
Expand Down Expand Up @@ -144,6 +145,7 @@ pub enum SupportedMnemonic {
Neg = 464,
Nop = 465,
Not = 466,
Or = 467,
Pop = 590,
Push = 640,
Ret = 662,
Expand Down Expand Up @@ -223,6 +225,7 @@ impl TryFrom<Mnemonic> for SupportedMnemonic {
Neg => SupportedMnemonic::Neg,
Nop => SupportedMnemonic::Nop,
Not => SupportedMnemonic::Not,
Or => SupportedMnemonic::Or,
Pop => SupportedMnemonic::Pop,
Push => SupportedMnemonic::Push,
Ret => SupportedMnemonic::Ret,
Expand Down
1 change: 1 addition & 0 deletions src/instructions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pub mod mul;
pub mod neg;
pub mod nop;
pub mod not;
pub mod or;
pub mod pop;
pub mod push;
pub mod ret;
Expand Down
Loading

0 comments on commit 3ab312e

Please sign in to comment.