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.

}<br />

for (i = 0; i < len; i++)<br />

M[i] = code[i];<br />

void<br />

TRisc::State ()<br />

{<br />

fprintf (stderr, "PC=%d\n", PC * 4);<br />

fprintf (stderr, "SP=%d\n", R[30]);<br />

fprintf (stderr, "FP=%d\n", R[29]);<br />

fprintf (stderr, "R1=%d\n", R[1]);<br />

fprintf (stderr, "R2=%d\n", R[2]);<br />

fprintf (stderr, "R3=%d\n", R[3]);<br />

fprintf (stderr, "R4=%d\n", R[4]);<br />

}<br />

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

107

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

Saved successfully!

Ooh no, something went wrong!