ssemu

Crates.iossemu
lib.rsssemu
version0.1.4
sourcesrc
created_at2023-09-17 13:23:18.149554
updated_at2023-09-18 22:14:47.505594
descriptionAn emulation/asm command line tool of the Manchester SSEM 'Baby'
homepage
repositoryhttps://github.com/jasonalexander-ja/ssemu
max_upload_size
id975098
size95,566
JSON Alexander (jasonalexander-ja)

documentation

README

SSEM Emulator

crates.io MIT licensed

This is a CLI tool for running emulations of the Manchester Small-Scale Experimental Machine "Baby", the worlds first stored program computer, providing a familiar albeit primitive programming environment.

Installation

Ensure you have cargo installed.

cargo install ssemu

Useage

Usage: ssemu <COMMAND>

Commands:
  assemble  Assemble an asm source file to a binary file
  run       Load and run a source file
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Assemble

Usage: ssemu assemble [OPTIONS] --input <INPUT>

Options:
  -i, --input <INPUT>    The input asm file
  -o, --output <OUTPUT>  The output binary dump (defaults to input + .bin)
      --og-notation      Use original notation for asm instructions
  -h, --help             Print help

Run

Usage: ssemu run [OPTIONS] <SRC>

Arguments:
  <SRC>  The source file to execute from

Options:
      --exe-from <EXE_FROM>        The format of the file to execute from [default: bin] [possible values: asm, bin]
      --og-notation                Use original notation for asm instructions if running from asm
      --output-model               Output whole `model` including registers & memory when execution stops or breakpoint encountered
      --output-addr <OUTPUT_ADDR>  Memory addresses to output when execution stops or breakpoint encountered
      --output-regs <OUTPUT_REGS>  Registers to output when execution stops or breakpoint encountered [possible values: accumulator, instruction, instruction-address]
      --break-addr <BREAK_ADDR>    Addresses where to break & output the state of the core
  -h, --help                       Print help (see more with '--help')
Commit count: 35

cargo fmt