Skip to content

Commit 3ab312e

Browse files
committed
Immplement or instruction
1 parent 8af98c5 commit 3ab312e

File tree

3 files changed

+1378
-0
lines changed

3 files changed

+1378
-0
lines changed

src/auto/generated.rs

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ impl Axecutor {
6666
Neg => self.mnemonic_neg(i),
6767
Nop => self.mnemonic_nop(i),
6868
Not => self.mnemonic_not(i),
69+
Or => self.mnemonic_or(i),
6970
Pop => self.mnemonic_pop(i),
7071
Push => self.mnemonic_push(i),
7172
Ret => self.mnemonic_ret(i),
@@ -144,6 +145,7 @@ pub enum SupportedMnemonic {
144145
Neg = 464,
145146
Nop = 465,
146147
Not = 466,
148+
Or = 467,
147149
Pop = 590,
148150
Push = 640,
149151
Ret = 662,
@@ -223,6 +225,7 @@ impl TryFrom<Mnemonic> for SupportedMnemonic {
223225
Neg => SupportedMnemonic::Neg,
224226
Nop => SupportedMnemonic::Nop,
225227
Not => SupportedMnemonic::Not,
228+
Or => SupportedMnemonic::Or,
226229
Pop => SupportedMnemonic::Pop,
227230
Push => SupportedMnemonic::Push,
228231
Ret => SupportedMnemonic::Ret,

src/instructions/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ pub mod mul;
5252
pub mod neg;
5353
pub mod nop;
5454
pub mod not;
55+
pub mod or;
5556
pub mod pop;
5657
pub mod push;
5758
pub mod ret;

0 commit comments

Comments
 (0)