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.

INSTRUCOES.H<br />

// Instruções<br />

#define ADD 0<br />

#define SUB 1<br />

#define MUL 2<br />

#define DIV 3<br />

#define MOD 4<br />

#define CMP 5<br />

#define OR 8<br />

#define AND 9<br />

#define BIC 10<br />

#define XOR 11<br />

#define LSH 12<br />

#define ASH1 13<br />

#define CHK 14<br />

#define ADDI 16<br />

#define SUBI 17<br />

#define MULI 18<br />

#define DIVI 19<br />

#define MODI 20<br />

#define CMPI 21<br />

#define ORI 24<br />

#define ANDI 25<br />

#define BICI 26<br />

#define XORI 27<br />

#define LSHI 28<br />

#define ASHI 29<br />

#define CHKI 30<br />

#define LDW 32<br />

#define LDB 33<br />

#define POP 34<br />

#define STW 36<br />

#define STB 37<br />

#define PSH 38<br />

#define BEQ 40<br />

#define BNE 41<br />

#define BLT 42<br />

#define BGE 43<br />

#define BLE 44<br />

#define BGT 45<br />

#define BSR 46<br />

#define JSR 48<br />

#define RET 49<br />

#define RD 50<br />

#define WRD 51<br />

#define WRH 52<br />

#define WRL 53<br />

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

108

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

Saved successfully!

Ooh no, something went wrong!