9 releases

0.2.1 May 13, 2024
0.2.0 Apr 21, 2024
0.1.6 Apr 19, 2024

#83 in Emulators


Used in 4 crates

MIT license

30KB
507 lines

Osiris/Data

osiris-data is a crate to manage data in a virtual machine with an easy to read low-level interface.

With this crate, you can manipulate 64 bits values (data::atomic::Word) into a memory structure (memory::Memory).

A types crate

This crate provides a way to manipulate 64 bits values (data::atomic::Word) into a memory structure (memory::Memory).

Main structures

  • Data structures :
    • data::atomic::Word and
    • data::atomic::HalfWord to split/merge words,
    • data::composite::WordStack and data::composite::WordQueue to help data processing,
    • data::composite::Array a contiguous set of Words,
  • Identifiers :
    • data::identification::Address to reference a data::atomic::Word into a memory::Memory,
    • data::identification::Area to reference a data::composite::Array into a memory::Memory,
  • memory::Memory whose operations can return a memory::MemoryResult<T> an alias of Result<T, memory::MemoryError>,
  • Converters : converters::Words and converters::Arrays.

License

No runtime deps

Features