Exemple d ex cution d un programme
Download
1 / 9

Exemple d’exécution d’un programme - PowerPoint PPT Presentation


  • 101 Views
  • Uploaded on

Traduction en hexa. Jeux d’instructions de la machine. ISTORE 1. 0x36 0x01. Exemple d’exécution d’un programme. Exemple chargement d’une instruction. Memory control signals (rd,wr,fetch). 3. 4 to 16 Decoder. 4. MPC. 9. 0x00. 8. 0x36. 8. 0x05. 0x00. JMPC. MIR. C. Addr. J. M.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Exemple d’exécution d’un programme' - luther


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Exemple d ex cution d un programme

Traduction en hexa

Jeux d’instructions de la machine

ISTORE 1

0x36 0x01

Exemple d’exécution d’un programme


Exemple chargement d une instruction
Exemple chargement d’une instruction

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

4

MPC

9

0x00

8

0x36

8

0x05

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore h lv goto istore2
Exemple Istore (H=LV; Goto Istore2)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

4

MPC

9

0x01

8

0x36

8

0x05

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore mar mbru h goto istore3
Exemple Istore (MAR=MBRU+H; Goto Istore3)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

4

MPC

9

0x01

8

0x01

8

0x05

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

Arrivée de la donnée.(Lecture déclenchée dans le Main1)

0x04

JAMN/JAMZ

0x00

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore mdr tos wr goto istore4
Exemple Istore (MDR=TOS;Wr; Goto Istore4)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

0x01

4

MPC

9

0x01

8

0x01

8

0x05

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore mdr tos wr goto istore41
Exemple Istore (MDR=TOS;Wr; Goto Istore4)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

0x01

4

0x04

MPC

9

0x01

8

0x01

8

0x05

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore pc pc 1 fetch goto istore6
Exemple Istore (PC=PC+1;fetch; Goto Istore6)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

0x04

4

0x04

MPC

9

0x01

8

0x01

8

0x04

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


Exemple istore tos mdr goto main1
Exemple Istore (TOS=MDR; Goto Main1)

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

0x04

4

0x07

MPC

9

0x02

8

0x01

8

0x04

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

0x04

Arrivée de la donnée.Lecture déclenchée dans Istore4

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


R sultat
Résultat

Memory control signals (rd,wr,fetch)

3

4 to 16

Decoder

0x04

4

0x07

MPC

9

0x02

8

0xXX

8

0x04

0x00

JMPC

MIR

C

Addr

J

M

Alu

B

Arrivée de la prochaine instruction.

0x07

JAMN/JAMZ

High

Bit

B Bus

2

N

6

Z

C Bus

2


ad