var fDesc=new Array(); fDesc[0] = "MIPS Assembler and Simulator is a tool for converting MIPS assembly code into MIPS machine code in either hexadecimal or binary output format. This software supports labels for jumps (relative and absolute address mode according to the instruction), tracks of 1st order infinite loops (automatically stops the simulation) and much more"; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }