aboutsummaryrefslogtreecommitdiff
path: root/src/opcodes
blob: b6ae5033aae314df2cf0594e424970b475d41119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Instruction opcodes and definitions for Mailfromd
# Copyright (C) 2007, 2008, 2010, 2011 Sergey Poznyakoff
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Opcode       Dump function         Number of words

LOCUS          dump_locus            2 

STKALLOC       dump_stkalloc         1 
XCHG           NULL                  0 
POP            NULL                  0 
DUP            NULL                  0 
PUSH           dump_push             1 
SYMBOL         dump_symbol           1 
BACKREF        dump_backref          1 
STON           NULL                  0 
NTOS           NULL                  0 
ADJUST         dump_adjust           1 
POPREG         NULL                  0 
PUSHREG        NULL                  0 

BZ             dump_branch           1 
BNZ            dump_branch           1 
JMP            dump_branch           1 
CMP            NULL                  0 
XLAT           dump_xlat             2 
XLATS          dump_xlats            2 
JREG           NULL                  0 

REGEX          dump_regex            1
REGMATCH       NULL                  0 
FNMATCH        NULL                  0 
FNMATCH_MX     NULL                  0 
REGMATCH_MX    NULL                  0 
REGCOMP        dump_regcomp          1

NOT            NULL                  0 
EQN            NULL                  0 
EQS            NULL                  0 
NEN            NULL                  0 
NES            NULL                  0 
LTN            NULL                  0 
LTS            NULL                  0 
LEN            NULL                  0 
LES            NULL                  0 
GTN            NULL                  0 
GTS            NULL                  0 
GEN            NULL                  0 
GES            NULL                  0 

NEG            NULL                  0 
ADD            NULL                  0 
SUB            NULL                  0 
MUL            NULL                  0 
DIV            NULL                  0 
MOD            NULL                  0

LOGAND         NULL                  0 
LOGOR          NULL                  0 
LOGXOR         NULL                  0 
LOGNOT         NULL                  0 

SHL            NULL                  0
SHR            NULL                  0

CONCAT         NULL                  0 

MEMSTK	       dump_memstk           2
XMEMSTK	       NULL		     0
DEREF          NULL                  0
ASGN           NULL                  0
BUILTIN        dump_builtin          2 

CATCH          dump_catch            2
THROW          dump_throw	     1
SAVEEX         dump_saveex           1 
RESTEX         NULL                  0 

ECHO           NULL                  0 
RETURN         NULL                  0 
RETCATCH       NULL                  0  
FUNCALL        dump_funcall          2 

NEXT           NULL                  0 
RESULT         dump_result           1
HEADER         dump_header           2 

Return to:

Send suggestions and report system problems to the System administrator.