Lista de Instruções
+Instrução | +Operando 3 | +Operando 2 | +Operando 1 | +
---|
diff --git a/pages/build.js b/pages/build.js index 60662ad..0ac5309 100644 --- a/pages/build.js +++ b/pages/build.js @@ -1,10 +1,76 @@ import Head from 'next/head' import Form from 'react-bootstrap/Form'; +import Table from 'react-bootstrap/Table' import { useState } from 'react'; -import { Container } from 'react-bootstrap'; +import { Container, Row, Col } from 'react-bootstrap'; export default function Home() { const [instructionStatus, setInstructionStatus] = useState([]); + + const geraTabelaParaInserirInstrucoes = (nInst) => { + let tabela = []; + for (let i = 0; i < nInst; i++) { + let d = "D" + i; + let r = "R" + i; + let s = "S" + i; + let t = "T" + i; + tabela.push( +
Instrução | +Operando 3 | +Operando 2 | +Operando 1 | +
---|