From c6e83fec1897b5ec5d9ecd7c735f0f01c23ec7b8 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 13 Apr 2025 22:11:30 -0700 Subject: hexagon (and 0.2.12) --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.rs') 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::(&buf, &printer), SM83 => arch_02::decode_input::(&buf, &printer), RX => arch_02::decode_input::(&buf, &printer), + Hexagon => arch_03::decode_input::(&buf, &printer), // PIC24 => decode_input::(buf), SuperH(decoder) => arch_02::decode_input_with_decoder::(decoder, &buf, &printer), } -- cgit v1.1