Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call U16 #10

Closed
jorgee00 opened this issue Nov 13, 2019 · 5 comments
Closed

call U16 #10

jorgee00 opened this issue Nov 13, 2019 · 5 comments
Assignees
Milestone

Comments

@jorgee00
Copy link
Owner

No description provided.

@jorgee00 jorgee00 self-assigned this Nov 18, 2019
@jorgee00 jorgee00 added the Jorge label Nov 18, 2019
@jorgee00
Copy link
Owner Author

call val{
co= 100001,
nwords=1,
val=inm(15,0)
{
(SELA=11101, MR, C0, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101, C0),
(T2, C1),
(TA, BW=11, TD, W, SIZE=10000, OFFSET=0, T3, C2, MC=0, B=1, A0=1)
}
}

@jorgee00 jorgee00 added the Terminada pero falta probar A falta de revisar por los dos label Nov 18, 2019
@tastypeanut tastypeanut added this to the Ejercicio 1 milestone Nov 20, 2019
@jorgee00 jorgee00 reopened this Nov 27, 2019
@jorgee00
Copy link
Owner Author

call val{
co= 100001,
nwords=1,
val=inm(15,0) {
(SELA=11101, MR, C0, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101),
(T2, C1),
(TA, BW=11, TD, W, SIZE=10000, OFFSET=0, T3, C2, MC=0, B=1, A0=1) } }

@tastypeanut tastypeanut reopened this Dec 1, 2019
@tastypeanut
Copy link
Collaborator

call val{
  co= 100001,
  nwords=1,
  val=inm(15,0)
  #call salta a la dirección absoluta de una dirección o etiqueta pasada como parámetro, almacenando antes en pila el PC actual.
  {
    #Llevamos el valor de SP a la ALU para restarle cuatro, ese valor lo llevamos a MAR y lo cargamos de nuevo en el registro SP.
    (SELA=11101, MR, C0, MB=10, SELCOP=1011, MC, T6, LC, SELC=11101),
    #Cargamos el valor de PC en MBR.
    (T2, C1),
    #Cargamos MBR en memoria en la dirección que almacena MAR, y cargamos el valor inmediato en PC.
    (TA, BW=11, TD, W, SIZE=10000, OFFSET=0, T3, C2, B, A0)
  }
}

@tastypeanut
Copy link
Collaborator

Con esto ya debería estar esta instrucción terminada.

@tastypeanut tastypeanut added Finalizado and removed Terminada pero falta probar A falta de revisar por los dos labels Dec 1, 2019
@tastypeanut
Copy link
Collaborator

@jorgee00 si encuentras algo que no te cuadre, mencioname xfa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants