PuceRécapitulatif des OP-CODES

 

Tableau des Op-Code : très utile si vous n'avez pas d'assembleur.

Z-Page : page zéro

IMM : immédiat

ABS : absolue

...: Il y a bien une instruction, mais le code n'est pas officiel. Cependant, pas d'inquiétude, c'est généralement une autre valeur possible d'une instruction déjà présente dans le tableau.

Comment lire ce tableau: Prenons l'instruction PLA : Recherchez d'abord le chiffre correspondant sur la ligne horizontale (PLA : 6). Puis le chiffre

correspondant sur la ligne verticale (PLA : 8). La codification du PLA sera donc: 68 (héxa).

Flêche

0

1

2

3

4

5

6

7

0

BRK

ORA
(IND,X)

...

...

...

ORA
Z-Page

ASL
Z-Page

...

1

BPL

ORA
(IND),Y

...

...

...

ORA
Z-Page,X

ASL
Z-Page,X

...

2

JSR
ABS

AND
(IND,X)

...

...

BIT
Z-Page

AND
Z-Page

ROL
Z-Page

...

3

BMI

AND
(IND),Y

...

...

...

AND
Z-Page,X

ROL
Z-Page,X

...

4

RTI

EOR
(IND,X)

...

...

...

EOR
Z-Page

LSR
Z-Page

...

5

BVC

EOR
(IND),Y

...

...

...

EOR
Z-Page,X

LSR
Z-Page,X

...

6

RTS

ADC
(IND,X)

...

...

...

ADC
Z-Page

ROR
Z-Page

...

7

BVS

ADC
(IND),Y

...

...

...

ADC
Z-Page,X

ROR
Z-Page,X

...

8

...

STA
(IND,X)

...

...

STY
Z-Page

STA
Z-Page

STX
Z-Page

...

9

BCC

STA
(IND),Y

...

...

STY
Z-Page,X

STA
Z-Page,X

STX
Z-Page,Y

...

A

LDY
IMM

LDA
(IND,X)

LDX
IMM

...

LDY
Z-Page

LDA
Z-Page

LDX
Z-Page

...

B

BCS

LDA
(IND),Y

...

...

LDY
Z-Page,X

LDA
Z-Page,X

LDX
Z-Page,Y

...

C

CPY
IMM

CMP
(IND,X)

...

...

CPY
Z-Page

CMP
Z-Page

DEC
Z-Page

...

D

BNE

CMP
(IND),Y

...

...

...

CMP
Z-Page,X

DEC
Z-Page,X

...

E

CPX
IMM

SBC
(IND,X)

...

...

CPX
Z-Page

SBC
Z-Page

INC
Z-Page

...

F

BEQ

SBC
(IND),Y

...

...

...

SBC
Z-Page,X

INC
Z-Page,X

...

Et la suite, car trop grand en abscisse !

Flêche

8

9

A

B

C

D

E

F

0

PHP

ORA
IMM

ASL
A

...

...

ORA
ABS

ASL
ABS

...

1

CLC

ORA
ABS,Y

...

...

...

ORA
ABS,X

ASL
ABS,X

...

2

PLP

AND
IMM

ROL
A

...

BIT
ABS

AND
ABS

ROL
ABS

...

3

SEC

AND
ABS,Y

...

...

...

AND
ABS,X

ROL
ABS,X

...

4

PHA

EOR
IMM

LSR
A

...

JMP
ABS

EOR
ABS

LSR
ABS

...

5

CLI

EOR
ABS,Y

...

...

...

EOR
ABS,X

LSR
ABS,X

...

6

PLA

ADC
IMM

ROR
A

...

JMP
Indirect

ADC
ABS

ROR
ABS

...

7

SEI

ADC
ABS,Y

...

...

...

ADC
ABS,X

ROR
ABS,X

...

8

DEY

TXA

...

STY
ABS

STA
ABS

STX
ABS

...

9

TYA

STA
ABS,Y

TXS

...

...

STA
ABS,X

...

...

A

TAY

LDA
IMM

TAX

...

LDY
ABS

LDA
ABS

LDX
ABS

...

B

CLV

LDA
ABS,Y

TSX

...

LDY
ABS,X

LDA
ABS,X

LDX
ABS,Y

...

C

INY

CMP
IMM

DEX

...

CPY
ABS

CMP
ABS

DEC
ABS

...

D

CLD

CMP
ABS,Y

...

...

...

CMP
ABS,X

DEC
ABS,X

...

E

INX

SBC
IMM

NOP

...

CPX
ABS

SBC
ABS

INC
ABS

...

F

SED

SBC
ABS,Y

...

...

...

SBC
ABS,X

INC
ABS,X

...