-
Notifications
You must be signed in to change notification settings - Fork 0
Add Alternative LC3 Executor and I/O Implementations #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The `pinned_init` crate is needed to actually initialize the large internal array on heap, instead of filling up memory.
The two lanes actually improves performance compared to the base design.
| instruction::{Instruction, InstructionEnum, InstructionErr, InsufficientPerms}, | ||
| defs::{ | ||
| HalfLC3Word, LC3MemAddr, LC3Word, RegAddr, DISPLAY_DATA_REGISTER, DISPLAY_STATUS_REGISTER, | ||
| KEYBOARD_DATA_REGISTER, KEYBOARD_INTERRUPT, KEYBOARD_STATUS_REGISTER, STACK_REG, |
Check warning
Code scanning / clippy
unused imports: IJumpSubRoutine and KEYBOARD_INTERRUPT Warning
| KEYBOARD_DATA_REGISTER, KEYBOARD_INTERRUPT, KEYBOARD_STATUS_REGISTER, STACK_REG, | ||
| }, | ||
| instruction::{ | ||
| IJumpSubRoutine, Instruction, InstructionEnum, InstructionErr, InsufficientPerms, |
Check warning
Code scanning / clippy
unused imports: IJumpSubRoutine and KEYBOARD_INTERRUPT Warning
| @@ -0,0 +1,46 @@ | |||
| //! Generically defined executors | |||
| use std::future::{ready, Ready}; | |||
Check warning
Code scanning / clippy
unused imports: Ready and ready Warning
| @@ -0,0 +1,46 @@ | |||
| //! Generically defined executors | |||
| use std::future::{ready, Ready}; | |||
Check warning
Code scanning / clippy
unused imports: Ready and ready Warning
|
|
||
| use crate::{ | ||
| executors::LC3, | ||
| instruction::{InstructionEnum, Trap}, |
Check warning
Code scanning / clippy
unused imports: InstructionEnum and Trap Warning
|
|
||
| use crate::{ | ||
| executors::LC3, | ||
| instruction::{InstructionEnum, Trap}, |
Check warning
Code scanning / clippy
unused imports: InstructionEnum and Trap Warning
| instruction::{InstructionEnum, Trap}, | ||
| }; | ||
|
|
||
| use super::{r#async::AsyncHarness, sync::SyncHarness, ExecutionFailure}; |
Check warning
Code scanning / clippy
unused import: r#async::AsyncHarness Warning
No description provided.