diff options
| author | iximeow <me@iximeow.net> | 2025-04-13 22:11:30 -0700 | 
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2025-04-13 22:12:06 -0700 | 
| commit | c6e83fec1897b5ec5d9ecd7c735f0f01c23ec7b8 (patch) | |
| tree | 0d1125446d6a0aa4e6ed089ece0a0a697343bc58 /src | |
| parent | a56c1247d95ad1b76631c020b31ea3818d40f4e6 (diff) | |
hexagon (and 0.2.12)HEAD0.2.12no-gods-no-
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/main.rs b/src/main.rs index b1ac55d..3bb7756 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,6 +24,7 @@ enum Architecture {      LC87,      SM83,      RX, +    Hexagon,      // PIC24,      SuperH(yaxpeax_superh::SuperHDecoder),  } @@ -60,6 +61,7 @@ impl FromStr for Architecture {              "lc87" => LC87,              "sm83" => SM83,              "rx" => RX, +            "hexagon" => Hexagon,              //        "pic24" => PIC24,              _ => {                  let seg_idx = arch_str.find(&['+', '-'][..]).unwrap_or(arch_str.len()); @@ -144,6 +146,7 @@ fn main() {          LC87 => arch_02::decode_input::<yaxpeax_lc87::LC87>(&buf, &printer),          SM83 => arch_02::decode_input::<yaxpeax_sm83::SM83>(&buf, &printer),          RX => arch_02::decode_input::<yaxpeax_rx::RX>(&buf, &printer), +        Hexagon => arch_03::decode_input::<yaxpeax_hexagon::Hexagon>(&buf, &printer),          //        PIC24 => decode_input::<yaxpeax_pic24::PIC24>(buf),          SuperH(decoder) => arch_02::decode_input_with_decoder::<yaxpeax_superh::SuperH>(decoder, &buf, &printer),      } | 
