Qwerty

Páginas: 5 (1033 palabras) Publicado: 17 de octubre de 2011
Juego de Instrucciones DLX
Instrucciones para la transferencia de datos
LB Rd,Adr LBU Rd,Adr LH Rd,Adr LHU Rd,Adr LW Rd,Adr LF Fd,Adr LD Dd,Adr SB Adr,Rs SH Adr,Rs SW Adr,Rs SF Adr,Fs SD Adr,Fs MOVI2FP Fd,Rs MOVI2FP Rd,Fs MOVF Fd,Fs MOVD Dd,Ds MOVI2S SR,Rs MOVS2I Rs,SR ADD Rd,Ra,Rb ADDI Rd,Ra,Imm ADDU Rd,Ra,Rb ADDUI Rd,Ra,Imm SUB Rd,Ra,Rb SUBI Rd,Ra,Imm SUBU Rd,Ra,Rb SUBUI Rd,Ra,Imm MULTRd,Ra,Rb MULTU Rd,Ra,Rb DIV Rd,Ra,Rb DIVU Rd,Ra,Rb AND Rd,Ra,Rb ANDI Rd,Ra,Imm OR Rd,Ra,Rb ORI Rd,Ra,Imm XOR Rd,Ra,Rb XORI Rd,Ra,Imm LHI Rd,Imm SLL Rd,Rs,Rc SRL Rd,Rs,Rc SRA Rd,Rs,Rc SLLI Rd,Rs,Imm SRLI Rd,Rs,Imm SRAI Rd,Rs,Imm S__ Rd,Ra,Rb S__I Rd,Ra,Imm S__U Rd,Ra,Rb S__UI Rd,Ra,Imm NOP Load byte (sign extension) Load byte (unsigned) Load halfword (sign extension) Load halfword (unsigned) Load wordLoad single-precision Floating point Load double-precision Floating point Store byte Store halfword Store word Store single-precision Floating point Store double-precision Floating point Move 32 bits from integer registers to FP registers Move 32 bits from FP registers to integer registers Copy one Floating point register to another register Copy a double-precision pair to another pair Copy aregister to a special register (not implemented!) Copy a special register to a GPR (not implemented!)

Instrucciones de Control
BEQZ Rt,Dest BNEZ Rt,Dest BFPT Dest BFPF Dest J Dest JR Rx JAL Dest JALR Rx TRAP Imm RFE Dest ADDD Dd,Da,Db ADDF Fd,Fa,Fb SUBD Dd,Da,Db SUBF Fd,Fa,Fb MULTD Dd,Da,Db MULTF Fd,Fa,Fb DIVD Dd,Da,Db DIVF Fd,Fa,Fb CVTF2D Dd,Fs CVTD2F Fd,Ds CVTF2I Fd,Fs CVTI2F Fd,Fs CVTD2I Fd,DsCVTI2D Dd,Fs __D Da,Db __F Fa,Fb Branch if GPR equal to zero; 16-bit offset from PC Branch if GPR not equal to zero; 16-bit offset from PC Test comparison bit in the FP status register (true) and branch; 16-bit offset from Test comparison bit in the FP status register (false) and branch; 16-bit offset from PC Jump: 26-bit offset from PC Jump: target in register Jump and link: save PC+4 to R31;target is PC-relative Jump and link: save PC+4 to R31; target is a register Transfer to operating system at a vectored address; see Traps. Return to user code from an exception; restore user mode (not implemented!)

Instrucciones en punto flotante
Add double-precision numbers Add single-precision numbers Subtract double-precision numbers Subtract single-precision numbers. Multiply double-precisionFloating point numbers Multiply single-precision Floating point numbers Divide double-precision Floating point numbers Divide single-precision Floating point numbers Converts from type single-precision to type double-precision Converts from type double-precision to type single-precision Converts from type single-precision to type integer Converts from type integer to type single-precision Convertsfrom type double-precision to type integer Converts from type integer to type double-precision Double-precision compares: "__" may be EQ, NE, LT, GT, LE or GE; sets comparison bit in FP status register Single-precision compares: "__" may be EQ, NE, LT, GT, LE or GE; sets comparison bit in FP status register

Instrucciones lógicas y aritméticas para enteros
Add Add immediate (all immediates are16 bits) Add unsigned Add unsigned immediate Subtract Subtract immediate Subtract unsigned Subtract unsigned immediate Multiply signed Multiply unsigned Divide signed Divide unsigned And And immediate Or Or immediate Xor Xor immediate Load high immediate - loads upper half of register with immediate Shift left logical Shift right logical Shift right arithmetic Shift left logical 'immediate' bitsShift right logical 'immediate' bits Shift right arithmetic 'immediate' bits Set conditional: "__" may be EQ, NE, LT, GT, LE or GE Set conditional immediate: "__" may be EQ, NE, LT, GT, LE or GE Set conditional unsigned: "__" may be EQ, NE, LT, GT, LE or GE Set conditional unsigned immediate: "__" may be EQ, NE, LT, GT, LE or GE No operation

Directivas del simulador WinDLX
.align n Cause the...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • qwerty
  • qwerty
  • qwerty
  • Qwerty
  • qwerty
  • Qwerty
  • Qwerty
  • qwerty

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS