Corsi di Laurea
ROX @ Unisa - Forum degli studenti di Ingegneria utilizza i cookie. Se prosegui la navigazione accetti il loro uso.
Accetto l'uso dei cookie
la risposta è no, però è simile al tipo-R. Secondo me la sequenza dei passi di controllo è questa:
addi Ss1, Ss2, 100
Fase di prelievo
ciclo 0: MemRead, ALUSrcA = 0, IorD = 0, IRWrite, ALUSrcB = 01, ALUOp = 00, PCWrite, PCSource = 00
Fase di decodifica
ciclo 1: ALUSrcA = 0, ALUSrcB = 11, ALUOp = 00
Fase di esecuzione
ciclo 2: ALUSrcA = 1, ALUSrcB = 10, ALUOp = 00
ciclo 3: MemToReg = 1, RegDst = 0, RegWrite
allora ho trovato l'istruzione dbgt e praticamente è un salto condizionato con una strana condizione. La mia interpretazione è che se [R1] <= [PC] decrementa [R1] e se il nuovo valore di [R1] è diverso da -1 esegue il salto all'indirizzo contenuto in "label"... in poche parole:
[....]
DBcc Test Condition, Decrement, and Branch; Motorola 680x0, Motorola 68300; used to implement DO loops, WHILE loops, UNTIL loops, and similar constructs, starts by testing a designated condition, if the test is true then no additional action is taken and the program continues to the next instruction (exiting the loop), if the test is false then the designated data register is decremented, if the result is exactly -1 then the program continues to the next instruction (exiting the loop), otherwise the program makes a short (16 bit) branch to continue the loop: DBCC, DBCS, DBEQ, DBF, DBGE, DBGT, DBHI, DBLE, DBLS, DBLT, DBMI, DBNE, DBPL, DBT, DBVC, DBVS
0 utenti, 0 ospiti, 0 utenti anonimi