2 stable releases

1.0.1 Jul 18, 2021

#2255 in Parser implementations

Download history 14/week @ 2024-02-19 29/week @ 2024-02-26 6/week @ 2024-03-04 16/week @ 2024-03-11 3/week @ 2024-03-18 2/week @ 2024-03-25 45/week @ 2024-04-01

67 downloads per month
Used in yaxpeax-dis

0BSD license

571 lines


crate documentation

an lc87 decoder implemented as part of the yaxpeax proect, including traits provided by yaxpeax-arch.

users of this library will either want to use quick and dirty APIs, or more generic decode interfaces from yaxpeax-arch - appropriate when mixing yaxpeax-lc87 with other yaxpeax decoders, such as yaxpeax-x86.


  • it exists
  • pretty small?
  • #[no_std]

it exists

i'm aware of only one other lc87 decoder on the internet: chrisnoisel's Ghidra work.

pretty small?

the lc87 instruction set is very small. the decoder is about 300 lines of Rust. it seems plausible that there is more rodata in the form of opcode strings, than actual code to disassemble instructions.


if, for some reason, you want to disassemble lc87 instructions without the Rust standard library around, that should work. this is primarily for consistency with other decoders than any need, and is not particularly tested.