aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/opcodes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xixanta/src/opcodes.rs')
-rw-r--r--lib/xixanta/src/opcodes.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xixanta/src/opcodes.rs b/lib/xixanta/src/opcodes.rs
index d5bb97a..a296aa5 100644
--- a/lib/xixanta/src/opcodes.rs
+++ b/lib/xixanta/src/opcodes.rs
@@ -96,6 +96,10 @@ pub enum InstructionIdentifier {
Txa,
Txs,
Tya,
+
+ // Pseudo-instructions used by 'vnf'.
+ Start,
+ Unknown,
}
/// An entry to the 'INSTRUCTIONS' map, which holds some values relevant for
@@ -215,6 +219,8 @@ impl Instruction {
InstructionIdentifier::Txa => "txa",
InstructionIdentifier::Txs => "txs",
InstructionIdentifier::Tya => "tya",
+ InstructionIdentifier::Start => "<start>",
+ InstructionIdentifier::Unknown => "<unknown>",
};
// On most addressing modes, if the current value is actually found on