logo

Crowdly

Browser

Add to Chrome

R2.04 Communication et fonctionnement bas niveau

Looking for R2.04 Communication et fonctionnement bas niveau test answers and solutions? Browse our comprehensive collection of verified answers for R2.04 Communication et fonctionnement bas niveau at celene.univ-orleans.fr.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

View this question

A la fin de l'exécution du programme en assembleur suivant donnez le bon état du haut de la pile (ne sont représentées que les 5 valeurs du haut, le bas de la pile n'est pas représenté ):

 

 

 

main

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

test

.end-main

.main

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

mystere

.end-main

 

 

Evidemment vous ne connaissez pas l'instruction mystere

Voici son microcode:

mystere1: MAR = SP

mystere2: MDR=TOS;wr; goto Main1

 

Solution 1:

2345width=

Solution 2:

34566

Solution 3:

45666

Solution 4:

56666

Solution 5:

66666

 

0%
0%
0%
0%
0%
0%
0%
0%
View this question

A la fin de l'exécution du programme en assembleur suivant donnez le bon état du haut de la pile (ne sont représentées que les 5 valeurs du haut, le bas de la pile n'est pas représenté ):

 

 

 

 

main

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

test

.end-main

.main

 

BIPUSH 0

 

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

mystere

.end-main

 

 

Evidemment vous ne connaissez pas l'instruction mystere

Voici son microcode:

 

mystere1: MAR=SP-1; rd;

mystere2: MAR=SP

mystere3: H=MDR;wr

mystere4: MDR=TOS

mystere5: MAR=SP-1; wr

mystere6: TOS=H; goto Main1

 

 

Solution 1:

23465

Solution 2:

12365

Solution 3:

00126

Solution 4:

01234

Solution 5:

12346

Solution 6:

23564

Solution 7:

23456

Solution 8:

00125

Solution 9:

00123

 

0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question
View this question

A la fin de l'exécution du programme en assembleur suivant donnez le bon état du haut de la pile (ne sont représentées que les 5 valeurs du haut, le bas de la pile n'est pas représenté ):

 

 

 

main

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

test

.end-main

.main

BIPUSH 0

BIPUSH 1

BIPUSH 2

BIPUSH 3

BIPUSH 4

BIPUSH 5

BIPUSH 6

mystere

.end-main

 

 

Evidemment vous ne connaissez pas l'instruction mystere

Voici son microcode:

mystere1: MAR = SP = SP+1

mystere2: MDR=TOS; goto Main1

 

Solution 1:

23456

Solution 2:

34566

Solution 3:

45666

Solution 4:

56666

Solution 5:

66666

 

0%
0%
0%
0%
0%
0%
0%
0%
View this question

En supposant qu'il y a, comme toujours, le main1 qui est executé avant, à quelle instruction de l'assembleur IJVM

correspond ce morceau de microcode?

mystere1  MAR = SP = SP - 1; rd

mystere2

mystere3   TOS = MDR; goto Mai

mystere1 MAR = SP = SP — 1; rd

mystere2 OPC = TOS

mystere3 TOS = MDR

mystere4 N = OPC; if (N) goto mystere10; else goto mystere20

...

mystere10 OPC = PC — 1; goto mystere30

...

mystere20 PC = PC + 1

mystere21 PC = PC + 1; fetch

mystere22 goto Mainl

...

mystere30 PC = PC + 1; fetch

mystere31 H= MBR <<8

mystere32 H = MBRU OR H

mystere33 PC = OPC + H; fetch

mystere34 Mainl

 

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question

En supposant qu'il y a, comme toujours, le main1 qui est executé avant, à quelle instruction de l'assembleur IJVM

correspond ce morceau de microcode?

mystere1  MAR = SP = SP - 1; rd

mystere2

mystere3   TOS = MDR; goto Mai

mystere1 MAR = SP - 1; rd

mystere2 MAR = SP

mystere3 H = MDR; wr

mystere4 MDR = TOS

mystere5 MAR = SP - 1; wr

mystere6 TOS = H; goto Main1

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question

En supposant qu'il y a, comme toujours, le main1 qui est executé avant, à quelle instruction de l'assembleur IJVM

correspond ce morceau de microcode?

mystere1  MAR = SP = SP - 1; rd

mystere2

mystere3   TOS = MDR; goto Mai

mystere1 MAR = SP = SP — 1; rd

mystere2 OPC = TOS

mystere3 TOS = MDR

mystere4 Z = OPC; if (Z) goto mystere10; else goto mystere20

...

mystere10 OPC = PC — 1; goto mystere30

...

mystere20 PC = PC + 1

mystere21 PC = PC + 1; fetch

mystere22 goto Mainl

...

mystere30 PC = PC + 1; fetch

mystere31 H= MBR <<8

mystere32 H = MBRU OR H

mystere33 PC = OPC + H; fetch

mystere34 Mainl

 

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question

En supposant qu'il y a, comme toujours, le main1 qui est executé avant, à quelle instruction de l'assembleur IJVM

correspond ce morceau de microcode?

mystere1  MAR = SP = SP - 1; rd

mystere2

mystere3   TOS = MDR; goto Mai

mystere1 H = LV

mystere2 MAR = MBRU + H;rd

mystere3 PC = PC + 1; fetch

mystere4 H = MDR

mystere5 PC = PC + 1; fetch

mystere6 MDR = MBR + H; wr; goto Main1

 

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
View this question
View this question

Want instant access to all verified answers on celene.univ-orleans.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome