17.01.2013 Views

COMPORT – Compilador Portugol - Nilo Menezes

COMPORT – Compilador Portugol - Nilo Menezes

COMPORT – Compilador Portugol - Nilo Menezes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RISC.H<br />

#ifndef IRISC<br />

#define IRISC<br />

#define MemSize 4096<br />

class TRisc<br />

{<br />

public:<br />

long PC, IR, R[32], M[MemSize / 4];<br />

void Execute (long pc0, FILE * in, FILE * out);<br />

void Load (long code[], long len);<br />

void State ();<br />

};<br />

extern TRisc RISC;<br />

#endif<br />

ComPort <strong>–</strong> <strong>Compilador</strong> <strong>Portugol</strong><br />

103

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!