 |
elly00 |
.consigliere.
Registered: Sep 2004
Posts: 137 (0.02 al dì)
Location: Bergamo
Corso: Informatica
Anno: 2
Time Online: 2 Days, 14:59:21 [...]
Status: Offline
Edit | Report | IP: Logged |
[traduzione assembly linguaggio macchina] esempio
Potete darmi delle informazioni su questa operazione. Era in un esame di Borghese!
4. Tradurre in linguaggio macchina le seguenti istruzioni assembly:
sw $t0, 4($s3) 56
bne $t0, $zero, L2 60
j L3 64
……….
L2: j L3 80:
……….
L3: 108:
Facendo riferimento a: sw 0x26 rs rt offset, bne 0x5 rs rt offsetj 0x2 label.
E ricordando che nel processore MIPS i registri: $zero, $at, $s0, $s1, $s2, $s3, $s4, $t0, $t1 corrispondono rispettivamente ai registri $0, $1, $16,
$17, $18, $19, $20, $8, $9. [3].
|