aboutsummaryrefslogtreecommitdiff
path: root/lib/handlers/assembly-documentation/mos6502.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlers/assembly-documentation/mos6502.js')
-rw-r--r--lib/handlers/assembly-documentation/mos6502.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/handlers/assembly-documentation/mos6502.js b/lib/handlers/assembly-documentation/mos6502.js
new file mode 100644
index 000000000..79293b487
--- /dev/null
+++ b/lib/handlers/assembly-documentation/mos6502.js
@@ -0,0 +1,8 @@
+import { getAsmOpcode } from '../asm-docs-6502';
+import { BaseAssemblyDocumentationHandler } from '../base-assembly-documentation-handler';
+
+export class Mos6502DocumentationHandler extends BaseAssemblyDocumentationHandler {
+ getInstructionInformation(instruction) {
+ return getAsmOpcode(instruction) || null;
+ }
+}