Motorola 68000 CPU Opcodes Mnemonic Size Single Effective Address Operation Word Data Mnemonic Size Single Effective Address Operation Word Data Addressing Mode Format M Xn ORI to CCR B 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 B I RTE 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 1 Data register Dn 0 0 0 reg ORI to SR W 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 W I RTS 0 1 0 0 1 1 1 0 0 1 1 1 0 1 0 1 Address register An 0 0 1 reg ORI B W L 0 0 0 0 0 0 0 0 S M Xn I TRAPV 0 1 0 0 1 1 1 0 0 1 1 1 0 1 1 0 Address (An) 0 1 0 reg ANDI to CCR B 0 0 0 0 0 0 1 0 0 0 1 1 1 1 0 0 B I RTR 0 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 Address with Postincrement (An)+ 0 1 1 reg ANDI to SR W 0 0 0 0 0 0 1 0 0 1 1 1 1 1 0 0 W I JSR 0 1 0 0 1 1 1 0 1 0 M Xn Address with Predecrement -(An) 1 0 0 reg ANDI B W L 0 0 0 0 0 0 1 0 S M Xn I JMP 0 1 0 0 1 1 1 0 1 1 M Xn Address with Displacement (d16, An) 1 0 1 reg SUBI B W L 0 0 0 0 0 1 0 0 S M Xn I MOVEM W L 0 1 0 0 1 D 0 0 1 S M Xn W M Address with Index (d8, An, Xn) 1 1 0 reg ADDI B W L 0 0 0 0 0 1 1 0 S M Xn I LEA L 0 1 0 0 An 1 1 1 M Xn Program Counter with Displacement (d16, PC) 1 1 1 0 1 0 EORI to CCR B 0 0 0 0 1 0 1 0 0 0 1 1 1 1 0 0 B I CHK W 0 1 0 0 Dn 1 1 0 M Xn Program Counter with Index (d8, PC, Xn) 1 1 1 0 1 1 EORI to SR W 0 0 0 0 1 0 1 0 0 1 1 1 1 1 0 0 W I ADDQ B W L 0 1 0 1 Data 0 S M Xn Absolute Short (xxx).W 1 1 1 0 0 0 EORI B W L 0 0 0 0 1 0 1 0 S M Xn I SUBQ B W L 0 1 0 1 Data 1 S M Xn Absolute Long (xxx).L 1 1 1 0 0 1 CMPI B W L 0 0 0 0 1 1 0 0 S M Xn I Scc B 0 1 0 1 Condition 1 1 M Xn Immediate #imm 1 1 1 1 0 0 BTST B L 0 0 0 0 1 0 0 0 0 0 M Xn B N DBcc W 0 1 0 1 Condition 1 1 0 0 1 Dn W D BCHG B L 0 0 0 0 1 0 0 0 0 1 M Xn B N BRA B W 0 1 1 0 0 0 0 0 Displacement W D Operation Size Suffix S S S Direction d D BCLR B L 0 0 0 0 1 0 0 0 1 0 M Xn B N BSR B W 0 1 1 0 0 0 0 1 Displacement W D Byte .b 0 0 0 1 Right R 0 BSET B L 0 0 0 0 1 0 0 0 1 1 M Xn B N Bcc B W 0 1 1 0 Condition Displacement W D Word .w 0 1 0 1 1 Left L 1 BTST B L 0 0 0 0 Dn 1 0 0 M Xn B N MOVEQ L 0 1 1 1 Dn 0 Data Long .l 1 0 1 1 0 BCHG B L 0 0 0 0 Dn 1 0 1 M Xn B N DIVU W 1 0 0 0 Dn 0 1 1 M Xn Rotation M BCLR B L 0 0 0 0 Dn 1 1 0 M Xn B N DIVS W 1 0 0 0 Dn 1 1 1 M Xn Condition Mnemonic Cond Immediate 0 BSET B L 0 0 0 0 Dn 1 1 1 M Xn B N SBCD B 1 0 0 0 Xn 1 0 0 0 0 M Xn True T 0 0 0 0 Register 1 MOVEP W L 0 0 0 0 Dn 1 D S 0 0 1 An W D OR B W L 1 0 0 0 Dn D S M Xn False F 0 0 0 1 MOVEA W L 0 0 S An 0 0 1 M Xn SUB B W L 1 0 0 1 Dn D S M Xn Higher HI 0 0 1 0 Mode M MOVE B W L 0 0 S Xn M M Xn SUBX B W L 1 0 0 1 Xn 1 S 0 0 M Xn Lower or Same LS 0 0 1 1 Dn 0 MOVE from SR W 0 1 0 0 0 0 0 0 1 1 M Xn SUBA W L 1 0 0 1 An S 1 1 M Xn Carry Clear CC 0 1 0 0 -(An) 1 MOVE to CCR B 0 1 0 0 0 1 0 0 1 1 M Xn EOR B W L 1 0 1 1 Dn 1 S M Xn Carry Set CS 0 1 0 1 MOVE to SR W 0 1 0 0 0 1 1 0 1 1 M Xn CMPM B W L 1 0 1 1 An 1 S 0 0 1 An Not Equal NE 0 1 1 0 NEGX B W L 0 1 0 0 0 0 0 0 S M Xn CMP B W L 1 0 1 1 Dn 0 S M Xn Equal EQ 0 1 1 1 CLR B W L 0 1 0 0 0 0 1 0 S M Xn CMPA W L 1 0 1 1 An S 1 1 M Xn Overflow Clear VC 1 0 0 0 NEG B W L 0 1 0 0 0 1 0 0 S M Xn MULU W 1 1 0 0 Dn 0 1 1 M Xn Overflow Set VS 1 0 0 1 NOT B W L 0 1 0 0 0 1 1 0 S M Xn MULS W 1 1 0 0 Dn 1 1 1 M Xn Plus PL 1 0 1 0 EXT W L 0 1 0 0 1 0 0 0 1 S 0 0 0 Dn ABCD B 1 1 0 0 Xn 1 0 0 0 0 M Xn Minus MI 1 0 1 1 NBCD B 0 1 0 0 1 0 0 0 0 0 M Xn EXG L 1 1 0 0 Xn 1 M 0 0 M Xn Greater or Equal GE 1 1 0 0 SWAP W 0 1 0 0 1 0 0 0 0 1 0 0 0 Dn AND B W L 1 1 0 0 Dn D S M Xn Less Than LT 1 1 0 1 PEA L 0 1 0 0 1 0 0 0 0 1 M Xn ADD B W L 1 1 0 1 Dn D S M Xn Greater Than GT 1 1 1 0 ILLEGAL 0 1 0 0 1 0 1 0 1 1 1 1 1 1 0 0 ADDX B W L 1 1 0 1 Xn 1 S 0 0 M Xn Less or Equal LE 1 1 1 1 TAS B 0 1 0 0 1 0 1 0 1 1 M Xn ADDA W L 1 1 0 1 An S 1 1 M Xn TST B W L 0 1 0 0 1 0 1 0 S M Xn ASd B W L 1 1 1 0 0 0 0 D 1 1 M Xn Data Type Letter Data Size Letter TRAP 0 1 0 0 1 1 1 0 0 1 0 0 Vector LSd B W L 1 1 1 0 0 0 1 D 1 1 M Xn Immediate I Byte B LINK W 0 1 0 0 1 1 1 0 0 1 0 1 0 An W D ROXd B W L 1 1 1 0 0 1 0 D 1 1 M Xn Bit Index N Word W UNLK 0 1 0 0 1 1 1 0 0 1 0 1 1 An ROd B W L 1 1 1 0 0 1 1 D 1 1 M Xn Displacement D Long L MOVE USP L 0 1 0 0 1 1 1 0 0 1 1 0 D An ASd B W L 1 1 1 0 Rotation D S M 0 0 Dn Optional Displacement D Any RESET 0 1 0 0 1 1 1 0 0 1 1 1 0 0 0 0 LSd B W L 1 1 1 0 Rotation D S M 0 1 Dn Register List Mask M NOP 0 1 0 0 1 1 1 0 0 1 1 1 0 0 0 1 ROXd B W L 1 1 1 0 Rotation D S M 1 0 Dn STOP 0 1 0 0 1 1 1 0 0 1 1 1 0 0 1 0 W I ROd B W L 1 1 1 0 Rotation D S M 1 1 Dn Direction D D Direction D Register to memory 0 1 Dn ♦ <ea> → Dn 0 Mode Register List Mask Brief Extension Word Memory to register 1 0 <ea> ♦ Dn → <ea> 1 Postincrement A7 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 M Xn S 0 0 0 Displacement Predecrement D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3 A4 A5 A6 A7 Version 2.3 by GoldenCrystal http://goldencrystal.free.fr/M68kOpcodes-v2.3.pdf.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages1 Page
-
File Size-