Adicionado operadores relacionais.
[myPerl.git] / vm.h
blob4664f3c0cc8c72b91ec10c0a60d8a59795a281ba
1 #ifndef __VM_H__
2 #define __VM_H__
4 /* Operations */
5 void vm_halt(int);
6 void vm_add(int);
7 void vm_sub(int);
8 void vm_mul(int);
9 void vm_div(int);
10 void vm_mod(int);
11 void vm_cmp_eql(int);
12 void vm_cmp_ne(int);
13 void vm_cmp_geql(int);
14 void vm_cmp_leql(int);
15 void vm_cmp_gt(int);
16 void vm_cmp_lt(int);
17 void vm_load_var(int);
18 void vm_load_int(int);
19 void vm_load_off(int);
20 void vm_store(int);
21 void vm_jmp_false(int);
22 void vm_goto(int);
23 void vm_write_int(int);
24 void vm_push_int(int);
25 void vm_push_var(int);
26 void vm_call(int);
27 void vm_ret(int);
29 int vm_loop(void);
31 #endif /* !__VM_H__ */