logo

Crowdly

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!

Dans l'ALU du cours ci-dessous, si elle est dupliquée n fois et chainée pour les retenues de façon à travailler sur un mot de n bits, si je place l'entrée (F0,F1,ENA,ENB,INVA,INC) à la valeur (0,1,0,0,1,0) j'obtiens quelle fonction sur n bits ?

alu

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

Voici un code IJVM. Quelle valeur (en décimal) est en sommet de pile à la fin. Donner juste la valeur en décimal. Rien d'autre: pas de phrase, pas de virgule rien. Exemple: 13  ou -13 ou 50 etc...

Method Area 

Addr |Content

0x40000 0xb6 0x00 0x01 0x00

0x40004 0x01 0x00 0x03 0x10

0x40008 0x0a 0x36 0x02 0x15

0x4000c 0x02 0x10 0x0c 0xa7

0x40010 0x00 0x06 0x10 0x0e

0x40014 0x5f 0x10 0x14 0x5f

0x40018 0x36 0x01 0x00 0x00

Constant Pool 

Addr |Content

0x0 Ox0

0x1 Ox40003

0x10BIPUSH octet
0x59DUP  
0xA7GOTO offset  
0x60IADD  
0x7EIAND   
0x99IFEQ offset  
0x9BIFLT offset  
0x9FIF_ICMPEQ offset  
0x84IINC numvar const  
0x15ILOAD numvar   
0xB6INVOKEVIRTUAL dep  
0x80IOR  
0xACIRETURN  
0x36ISTORE numvar  
0x64ISUB  
0x13LDC_W index  
0x00NOP  
0x57POP  
0x5FSWAP
0xC4WIDE
View this question

 

Voici un code IJVM. Quelle valeur (en décimal) est en sommet de pile à la fin  quand on atteint le  halt?

 

 

.main

BIPUSH 0x40

BIPUSH 4

INVOKEVIRTUAL f

BIPUSH 0x40

BIPUSH 3

INVOKEVIRTUAL f

iadd

OUT

halt

.end-main

.method f( x )

iload x

bipush 10

isub

IRETURN

.end-method

 

.main

BIPUSH 0x40

BIPUSH 5

INVOKEVIRTUAL f

BIPUSH 0x40

BIPUSH 16

INVOKEVIRTUAL f

iadd

halt:

.end-main

.method f( x )

iload x

bipush 10

isub

IRETURN

.end-method

 

 

 

 

0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
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!