›TITLE 'DISASSEMBLY TABLES'›SUBTTL 'File DISTABLE.AMA'›;›; Disassembler data tables.›; Table MNETEX is mnemonic text.›; Table MNEIND translates opcode to MNETEX offset.›; Table MODES translates opcode to addressing mode ID.›;›; This is the table of instruction mnemonics.›;›MNETEXDB 'ADCANDASLBCC'›DB 'BCSBEQBITBMI'›DB 'BNEBPLBRKBVC'›DB 'BVSCLCCLDCLI'›DB 'CLVCMPCPXCPY'›DB 'DECDEXDEYEOR'›DB 'INCINXINYJMP'›DB 'JSRLDALDXLDY'›DB 'LSRNOPORAPHA'›DB 'PHPPLAPLPROL'›DB 'RORRTIRTSSBC'›DB 'SECSEDSEISTA'›DB 'STXSTYTAXTAY'›DB 'TSXTXATXSTYA'›;›; This is the table of offsets to table MNETEX.›; Each entry indexes the LAST character of its mnemonic.›;›MNEINDDB 32,104,255,255,255,104,8,255›DB 110,104,8,255,255,104,8,255› DB 29,104,255,255,255,104,8,255›DB 41,104,255,255,255,104,8,255›DB 86,5,255,255,20,5,119,255›DB 116,5,119,255,20,5,119,255›DB 23,5,255,255,255,5,119,255›DB 134,5,255,255,255,5,119,255›DB 125,71,255,255,255,71,98,255›DB 107,71,98,255,83,71,98,255›DB 35,71,255,255,255,71,98,255›DB 47,71,255,255,255,71,98,255›DB 128,2,255,255,255,2,122,255›DB 113,2,122,255,83,2,122,255›DB 38,2,255,255,255,2,255,255›DB 140,2,255,255,255,2,255,255›DB 255,143,255,255,149,143,146,255›DB 68,255,161,255,149,143,146,255›DB 11,143,255,255,149,143,146,255›DB 167,143,164,255,255,143,255,255›DB 95,89,92,255,95,89,92,255›DB 155,89,152,255,95,89,92,255›DB 14,89,255,255,95,89,92,255›DB 50,89,158,255,95,89,92,255›DB 59,53,255,255,59,53,62,255›DB 80,53,65,255,59,53,62,255›DB 26,53,255,255,255,53,62,255›DB 44,53,255,255,255,53,62,255›DB 56,131,255,255,56,131,74,255›DB 77,131,101,255,56,131,74,255›DB 17,131,255,255,255,131,74,255›DB 137,131,255,255,255,131,74,255›;›; This is the table of addressing mode ID's.›; It uses the following equates:›;›IMPEQU $00;Implied›ACCEQU $02 ;Accumulator›IMMEQU $24;Immediate›RELEQU $26;Relative›ABSEQU $48;Absolute (JMP/JSR only)›ABSREQU $48;Absolute, read access›ABSWEQU $C8;Absolute, write access›XREQU $4A;Absolute,X,read›XWEQU $CA;Absolute,X,write›YREQU $4C;Absolute,Y,read›YWEQU $CC;Absolute,Y,write›ZPREQU $2E;Zero-page, read›ZPWEQU $AE;Zero-page,write›ZPXREQU $30;Zero-page,X,read›ZPXWEQU $B0;Zero-page,X,write›ZPYREQU $32;Zero-page,Y,read›ZPYWEQU $B2;Zero-page,Y,write›INDEQU $54;Indirect (JSR only)›INDXREQU $36;Indirect,X,read›INDXWEQU $B6;Indirect,X,write›INDYREQU $38;Indirect,Y,read›INDYWEQU $B8;Indirect,Y,write›NOPEQU $FF;Not an opcode›;›MODESDB IMP,INDXR,NOP,NOP,NOP,ZPR,ZPW,NOP›DB IMP,IMM,ACC,NOP,NOP,ABSR,ABSW,NOP›DB REL,INDYR,NOP,NOP,NOP,ZPXR,ZPXW,NOP›DB IMP,YR,NOP,NOP,NOP,XR,XW,NOP›DB ABS,INDXR,NOP,NOP,ZPR,ZPR,ZPW,NOP›DB IMP,IMM,ACC,NOP,ABSR,ABSR,ABSW,NOP›DB REL,INDYR,NOP,NOP,NOP,ZPXR,ZPXW,NOP›DB IMP,YR,NOP,NOP,NOP,XR,XW,NOP›DB IMP,INDXR,NOP,NOP,NOP,ZPR,ZPW,NOP›DB IMP,IMM,ACC,NOP,ABS,ABSR,ABSW,NOP›DB REL,INDYR,NOP,NOP,NOP,ZPXR,ZPXW,NOP›DB IMP,YR,NOP,NOP,NOP,XR,XW,NOP›DB IMP,INDXR,NOP,NOP,NOP,ZPR,ZPW,NOP›DB IMP,IMM,ACC,NOP,IND,ABSR,ABSW,NOP›DB REL,INDYR,NOP,NOP,NOP,ZPXR,NOP,NOP›DB IMP,YR,NOP,NOP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