microinstrucciones

4
PRACTICA 9 Microinstrucciones De acuerdo con la ruta de datos del ESCOMips, genere la microinstrucción para cada una de las instrucciones del set, utilice la siguiente tabla. Esta tabla puede modificarla a conveniencia ALUOP Instruc ción SDMP U P DW WPC SR 2 SWD SEX T SH E DI R WR SOP 1 SOP 2 [ 3 ] [ 2 ] [ 1 ] [ 0 ] SDMD WD S R L F BLETI 1 0 0 1 0 0 0 0 0 0 1 1 0 0 1 1 0 0 1 0 LI 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 LWI 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 LW 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 0 0 0 SWI 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 SW 0 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 ADD 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 1 1 0 0 1 SUB 0 0 0 0 0 1 0 0 1 1 0 0 0 0 1 1 1 0 0 1 ADDI 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 1 0 0 1 1 SUBI 0 0 0 0 0 1 0 0 0 1 0 1 0 1 1 1 0 0 1 1 AND 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 OR 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 1 0 0 1 XOR 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 1 0 0 0 1 NAND 0 0 0 0 0 1 0 0 1 1 0 0 0 1 1 0 1 0 0 1

Upload: belen-goo

Post on 02-Sep-2015

269 views

Category:

Documents


7 download

DESCRIPTION

ESCOMIPS

TRANSCRIPT

PRACTICA 9Microinstrucciones

De acuerdo con la ruta de datos del ESCOMips, genere la microinstruccin para cada una de las instrucciones del set, utilice la siguiente tabla. Esta tabla puede modificarla a convenienciaALUOP

InstruccinSDMPUPDWWPCSR2SWDSEXTSHEDIRWRSOP1SOP2[3][2][1][0]SDMDWDSRLF

BLETI10010000001100110010

LI00000000010000000000

LWI 00000100010000001000

LW 00000110010100110000

SWI 00001000000000001100

SW 00001010000100110100

ADD00000100110000011001

SUB00000100110000111001

ADDI 000001000 1010011 0011

SUBI 00000100010101110011

AND00000100110000000001

OR00000100110000001001

XOR00000100110000010001

NAND00000100110001101001

NOR00000100110001100001

XNOR00000100110001010001

NOT00000100110001101001

ANDI 00000110010100000011

ORI 00000110010100010011

XORI00000110010100100011

NANDI00000110010111010011

NORI00000110010111000011

XNORI00000110010110100011

SLL00000110000000000000

SRL00000010000000000000

BEQI10010000001100110010

BNEI10010000001100110010

BLTI10010000001100110010

BLETI10010000001100110010

BGTI10010000001100110010

BGETI10010000001100110010

B00010000000000000000

CALL01010000000000000000

RET00100000000000000000

NOP00000000000000000000

Entregar: Entregar el archivo en formato PDF con el nombre GRUPO_MicroinstruccionesNoEquipo Ejemplo: 3CM5_Microinstrucciones3

SDMP UP DW WPC SR2 SWD SEXT SHE DIR WR SOP1 SOP2 ALUOP SDMD WD SR LF00 00 10 00 00 00 01 11 00 01 Comparacion00 00 00 00 01 00 00 00 00 00 LI00 00 01 00 01 00 00 00 10 00 LWI--00 00 10 00 00 00 00 00 11 00 SWI--00 00 10 10 00 01 00 11 01 00 SW--00 00 01 00 01 01 00 11 00 11 ADDI--00 00 01 00 01 01 01 11 00 11 SUBI--00 00 01 10 01 01 00 00 00 11 ANDI--00 00 01 10 01 01 00 01 00 11 ORI--00 00 01 10 01 01 00 10 00 11 XORI--00 00 01 10 01 01 11 01 00 11 NANDI--00 00 01 10 01 01 11 00 00 11 NORI--00 00 01 10 01 01 10 10 00 11 XNORI--10 01 00 00 00 11 00 11 00 10 BEQI--10 01 00 00 00 11 00 11 00 10 BNEI--10 01 00 00 00 11 00 11 00 10 BLTI--10 01 00 00 00 11 00 11 00 10 BLETI--10 01 00 00 00 11 00 11 00 10 BGTI--10 01 00 00 00 11 00 11 00 10 BGETI--00 01 00 00 00 00 00 00 00 00 B--01 01 00 00 00 00 00 00 00 00 CALL--00 10 00 00 00 00 00 00 00 00 RET--00 00 00 00 00 00 00 00 00 00 NOP--00 00 01 10 01 01 00 11 00 00 LW--