moa/src/lib.rs
transistor 586a16509f Added an assembler for the m68k
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.
2022-05-12 21:53:34 -07:00

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;