mirror of
https://github.com/transistorfet/moa.git
synced 2024-09-27 16:57:32 +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.
18 lines
235 B
Rust
18 lines
235 B
Rust
|
|
#[macro_use]
|
|
pub mod error;
|
|
pub mod memory;
|
|
pub mod timers;
|
|
pub mod signals;
|
|
pub mod devices;
|
|
pub mod debugger;
|
|
pub mod interrupts;
|
|
pub mod system;
|
|
pub mod parser;
|
|
|
|
pub mod host;
|
|
pub mod cpus;
|
|
pub mod peripherals;
|
|
pub mod machines;
|
|
|