mirror of
https://github.com/transistorfet/moa.git
synced 2024-06-10 22:29:41 +00:00
586a16509f
It can encode some basic instructions but not the more complicated addressing modes or special instructions. It can keep track of labels and patch the displacement addresses after assembling the output data, but it doesn't check for duplicates or that a label has been declared before it appears. It also doesn't take into account the origin yet. To run it, there is an m68kas command that will take a file and print the data: ``` cargo run -p moa --bin m68kas <filename> ``` It's not yet tied into the rest of the system, but could be used in the debugger to allow insertion of new code into a running system.
14 lines
201 B
Rust
14 lines
201 B
Rust
|
|
pub mod assembler;
|
|
pub mod state;
|
|
pub mod decode;
|
|
pub mod execute;
|
|
pub mod debugger;
|
|
pub mod instructions;
|
|
pub mod timing;
|
|
pub mod tests;
|
|
//pub mod testcases;
|
|
|
|
pub use self::state::{M68k, M68kType};
|
|
|