Tema 3: El nivel de lenguaje máquina - Blearning
Tema 3: El nivel de lenguaje máquina - Blearning
Tema 3: El nivel de lenguaje máquina - Blearning
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Modos <strong>de</strong> direccionamiento:<br />
Tipos más frecuentes<br />
Modo Ejemplo Significado<br />
Registro add r4,r3 r4 = r3+r4<br />
Inmediato add r4,#5 r4 = r4+5<br />
Directo add r1, (100) r1 = r1+M[100]<br />
Base + <strong>de</strong>splazamiento add r4,28(r1) r4 = r4 + M[28+r1]<br />
Indirecto por registro add r2, (r5) r2= r2 + M[r5]<br />
Indirecto por memoria add r1, @(r3) r1= r1 + M[M[r3]]<br />
In<strong>de</strong>xado add r3, (r1+r2) r3= r3+M[r1+r2]<br />
Autoincremento add r1,(r3)+ r1= r1 + M[r3]<br />
r3=r3+d<br />
(d:tamaño <strong>de</strong>l elemento)<br />
Auto<strong>de</strong>cremento add r1, -(r3) r3=r3-d<br />
r1= r1 + M[r3]<br />
(d:tamaño <strong>de</strong>l elemento)<br />
Escalado o índice add r1, 50(r2)[r3] r1= r1+M[50+r2+r3xd]<br />
(d: tamaño <strong>de</strong>l elemento)<br />
Ruptura <strong>de</strong> secuencia Saltos directos, relativos al PC, llamadas a<br />
subrutinas, etc..<br />
Fundamento <strong>de</strong> Computadores (1º II) Cap 2: <strong>El</strong> <strong>nivel</strong> <strong>de</strong> <strong>lenguaje</strong> <strong>máquina</strong> 10 <strong>de</strong> 64