Comments (8)
push rorig{
co=100100,
nwords=1,
rorig=reg(25,21)
{(SELA=11101, MR, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101, MR),
(SIZE=101, OFFSET=10110, T3, C1),
(SELA=11101, MR, C0),
(TA, BW=11, TD, W)}
}
from practica2-ec-uc3m.
Tengo que comprobar que funcione, no me ha dado tiempo.
from practica2-ec-uc3m.
push rorig{
co=100100,
nwords=1,
rorig=reg(25,21)
{(SELA=11101, MR, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101, C0),
(SELA=10101, T9, C1)
#(SIZE=101, OFFSET=10110, T3, C1),
(TA, BW=11, TD, W, A0, B)
}
}
PREGUNTAR A PROFESOR DEPENDE DE COMO SEA LA INTERPETACION
from practica2-ec-uc3m.
@jorgee00 Si es de la manera que tu interpretas, hace falta comprobar que funcione correctamente con ensablador.
from practica2-ec-uc3m.
from practica2-ec-uc3m.
push rorig{
co=100100,
nwords=1,
rorig=reg(25,21)
#push introduce el valor de un registro en pila.
{
#Reducimos el puntero de pila SP en 4 con la ALU, actualizamos su valor en el banco de registros y cargamos el resultado de la operación en MAR.
(SELA=11101, MR, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101, C0),
#Cargamos el valor de Rorig en MBR
(SELA=10101, T9, C1)
#Cargamos el valor de MBR en la dirección de memoria almacenada en MAR.
(TA, BW=11, TD, W, A0, B)
}
}
from practica2-ec-uc3m.
Con esto ya debería estar esta instrucción terminada.
from practica2-ec-uc3m.
@jorgee00 si encuentras algo que no te cuadre, mencioname xfa.
from practica2-ec-uc3m.
Related Issues (15)
- ld RDEST, RORIG HOT 4
- ldi RDEST, U16 HOT 4
- ldRDEST, (RORIG) HOT 4
- add_aRORIG HOT 4
- addi_aS16 HOT 4
- inc RDEST HOT 4
- dec RDEST HOT 4
- jp S16 HOT 4
- jpz S16 HOT 6
- call U16 HOT 5
- ret HOT 6
- halt HOT 4
- pop RDEST HOT 5
- Ejercicio 2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from practica2-ec-uc3m.