PN_OP 44 core/asm.c PN_OP *pos; PN_OP 45 core/asm.c PN_FLEX_NEEDS(sizeof(PN_OP), asmb, PN_TBYTES, PNAsm, ASM_UNIT); PN_OP 46 core/asm.c pos = (PN_OP *)(asmb->ptr + asmb->len); PN_OP 52 core/asm.c asmb->len += sizeof(PN_OP); PN_OP 139 core/compile.c numcols = (int)ceil(log10(PN_FLEX_SIZE(t->asmb) / sizeof(PN_OP))); PN_OP 140 core/compile.c for (x = 0; x < PN_FLEX_SIZE(t->asmb) / sizeof(PN_OP); x++) { PN_OP 287 core/compile.c PN_OP op; op.a = PN_S(lhs,0); //12 bit! PN_OP 354 core/compile.c PN_OP op; op.a = PN_S(t,0); // but 12bit only PN_OP 82 core/opcodes.h #define PN_OP_AT(asmb, n) ((PN_OP *)((PNFlex *)asmb)->ptr)[n] PN_OP 83 core/opcodes.h #define PN_OP_LEN(asmb) (PN_FLEX_SIZE(asmb) / sizeof(PN_OP)) PN_OP 69 core/syntax.y ( or x:sets { s = PN_OP(AST_OR, s, x) } PN_OP 70 core/syntax.y | and x:sets { s = PN_OP(AST_AND, s, x) })* PN_OP 76 core/syntax.y | or assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_OR, e, s)) } PN_OP 77 core/syntax.y | and assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_AND, e, s)) } PN_OP 78 core/syntax.y | pipe assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_PIPE, e, s)) } PN_OP 79 core/syntax.y | caret assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_CARET, e, s)) } PN_OP 80 core/syntax.y | amp assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_AMP, e, s)) } PN_OP 81 core/syntax.y | bitl assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_BITL, e, s)) } PN_OP 82 core/syntax.y | bitr assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_BITR, e, s)) } PN_OP 83 core/syntax.y | plus assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_PLUS, e, s)) } PN_OP 84 core/syntax.y | minus assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_MINUS, e, s)) } PN_OP 85 core/syntax.y | times assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_TIMES, e, s)) } PN_OP 86 core/syntax.y | div assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_DIV, e, s)) } PN_OP 87 core/syntax.y | rem assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_REM, e, s)) } PN_OP 88 core/syntax.y | pow assign s:sets { e = PN_AST2(ASSIGN, e, PN_OP(AST_POW, e, s)) })? PN_OP 92 core/syntax.y ( cmp x:cmps { c = PN_OP(AST_CMP, c, x) } PN_OP 93 core/syntax.y | eq x:cmps { c = PN_OP(AST_EQ, c, x) } PN_OP 94 core/syntax.y | neq x:cmps { c = PN_OP(AST_NEQ, c, x) })* PN_OP 98 core/syntax.y ( gte x:bitors { o = PN_OP(AST_GTE, o, x) } PN_OP 99 core/syntax.y | gt x:bitors { o = PN_OP(AST_GT, o, x) } PN_OP 100 core/syntax.y | lte x:bitors { o = PN_OP(AST_LTE, o, x) } PN_OP 101 core/syntax.y | lt x:bitors { o = PN_OP(AST_LT, o, x) })* PN_OP 105 core/syntax.y ( pipe x:bitand { a = PN_OP(AST_PIPE, a, x) } PN_OP 106 core/syntax.y | caret x:bitand { a = PN_OP(AST_CARET, a, x) })* PN_OP 110 core/syntax.y ( amp x:bitshift { b = PN_OP(AST_AMP, b, x) })* PN_OP 114 core/syntax.y ( bitl x:sum { s = PN_OP(AST_BITL, s, x) } PN_OP 115 core/syntax.y | bitr x:sum { s = PN_OP(AST_BITR, s, x) })* PN_OP 119 core/syntax.y ( plus x:product { p = PN_OP(AST_PLUS, p, x) } PN_OP 120 core/syntax.y | minus x:product { p = PN_OP(AST_MINUS, p, x) })* PN_OP 124 core/syntax.y ( times x:power { p = PN_OP(AST_TIMES, p, x) } PN_OP 125 core/syntax.y | div x:power { p = PN_OP(AST_DIV, p, x) } PN_OP 126 core/syntax.y | rem x:power { p = PN_OP(AST_REM, p, x) })* PN_OP 130 core/syntax.y ( pow x:expr { e = PN_OP(AST_POW, e, x) })* PN_OP 135 core/syntax.y | minus !minus a:atom { a = PN_OP(AST_MINUS, PN_AST(VALUE, PN_ZERO), a) } PN_OP 136 core/syntax.y | plus !plus a:atom { a = PN_OP(AST_PLUS, PN_AST(VALUE, PN_ZERO), a) } PN_OP 137 core/syntax.y | mminus a:atom { a = PN_OP(AST_INC, a, PN_NUM(-1) ^ 1) } PN_OP 138 core/syntax.y | pplus a:atom { a = PN_OP(AST_INC, a, PN_NUM(1) ^ 1) } PN_OP 139 core/syntax.y | a:atom (pplus { a = PN_OP(AST_INC, a, PN_NUM(1)) } PN_OP 140 core/syntax.y | mminus { a = PN_OP(AST_INC, a, PN_NUM(-1)) })?) { a = PN_TUP(a) } PN_OP 124 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 129 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 134 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 144 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 149 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 189 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 196 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 203 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 210 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 217 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 227 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 239 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 244 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 249 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 254 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 259 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 264 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 272 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 279 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 294 core/vm-arm.c void potion_arm_jmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 295 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 313 core/vm-arm.c void potion_arm_testjmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 314 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 319 core/vm-arm.c void potion_arm_notjmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 320 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 338 core/vm-arm.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 345 core/vm-arm.c void potion_arm_method(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_OP **pos, long lregs, long start, long regs) { PN_OP 123 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 128 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 133 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 143 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 148 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 188 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 195 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 202 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 209 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 216 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 226 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 238 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 243 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 248 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 253 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 258 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 263 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 271 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 278 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 293 core/vm-ppc.c void potion_ppc_jmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 294 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 312 core/vm-ppc.c void potion_ppc_testjmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 313 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 318 core/vm-ppc.c void potion_ppc_notjmp(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_SIZE pos, PN_OP *start, PNJumps *jmps, size_t *offs, int *jmpc) { PN_OP 319 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 337 core/vm-ppc.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 344 core/vm-ppc.c void potion_ppc_method(Potion *P, struct PNProto * volatile f, PNAsm * volatile *asmp, PN_OP **pos, long lregs, long start, long regs) { PN_OP 174 core/vm-x86.c void x86_cmp(Potion *P, PNAsm * volatile * asmp, PN_OP op, unsigned char iop, unsigned char nop) { PN_OP 471 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 477 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 486 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 498 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 506 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 525 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 544 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 553 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 560 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 571 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 581 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 599 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 609 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 620 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 632 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 654 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 664 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 674 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 682 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 691 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 702 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 715 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 728 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 738 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 750 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 762 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 769 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 776 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 783 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 790 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 798 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 811 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 824 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 835 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 845 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 855 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 861 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 887 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 897 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 909 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 936 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 1020 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 1049 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, *pos); PN_OP 1062 core/vm-x86.c PN_OP opp = PN_OP_AT(f->asmb, *pos); PN_OP 1084 core/vm-x86.c PN_OP op = PN_OP_AT(f->asmb, pos); PN_OP 291 core/vm.c for (pos = 0; pos < PN_FLEX_SIZE(f->asmb) / sizeof(PN_OP); pos++) { PN_OP 456 core/vm.c PN potion_debug(Potion *P, struct PNProto *f, PN self, PN_OP op, PN* reg, PN* stack) { PN_OP 659 core/vm.c PN_OP op = PN_OP_AT(f->asmb, pos);