Split up into pim-os, pim-vm and pim-isa crate
This commit is contained in:
45
pim-os/src/pim/kernel.rs
Normal file
45
pim-os/src/pim/kernel.rs
Normal file
@@ -0,0 +1,45 @@
|
||||
use pim_isa::{File, Instruction, Kernel};
|
||||
|
||||
pub const TEST_KERNEL: Kernel = Kernel([
|
||||
Instruction::FILL {
|
||||
src: File::Grf { index: 0 },
|
||||
dst: File::Bank,
|
||||
},
|
||||
Instruction::MOV {
|
||||
src: File::Bank,
|
||||
dst: File::Grf { index: 1 },
|
||||
},
|
||||
Instruction::JUMP {
|
||||
offset: 1,
|
||||
count: 12,
|
||||
},
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
]);
|
||||
Reference in New Issue
Block a user