moa/src/cpus/m68k/mod.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

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};