insjvm.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 237 行 · 第 1/2 页

H
237
字号
/****************************************************************************
*
*                            Open Watcom Project
*
*    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
*  ========================================================================
*
*    This file contains Original Code and/or Modifications of Original
*    Code as defined in and that are subject to the Sybase Open Watcom
*    Public License version 1.0 (the 'License'). You may not use this file
*    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
*    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
*    provided with the Original Code and Modifications, and is also
*    available at www.sybase.com/developer/opensource.
*
*    The Original Code and all software distributed under the License are
*    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
*    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
*    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
*    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
*    NON-INFRINGEMENT. Please see the License for the specific language
*    governing rights and limitations under the License.
*
*  ========================================================================
*
* Description:  Table of Java VM opcodes and corresponding decode routines.
*
****************************************************************************/


/*
      Idx,              Name,           Opcode,         Mask,           Handler
*/
inspick( bipush,        "bipush",       16,             0x000000ff,     JVMSByte )
inspick( sipush,        "sipush",       17,             0x000000ff,     JVMSShort )
inspick( ldc,           "ldc",          18,             0x000000ff,     JVMUByte )
inspick( ldc_w,         "ldc_w",        19,             0x000000ff,     JVMUShort )
inspick( ldc2_w,        "ldc2_w",       20,             0x000000ff,     JVMUShort )
inspick( aconst_null,   "aconst_null",  1,              0x000000ff,     JVMNull )
inspick( iconst_m1,     "iconst_m1",    2,              0x000000ff,     JVMNull )
inspick( iconst_0,      "iconst_0",     3,              0x000000ff,     JVMNull )
inspick( iconst_1,      "iconst_1",     4,              0x000000ff,     JVMNull )
inspick( iconst_2,      "iconst_2",     5,              0x000000ff,     JVMNull )
inspick( iconst_3,      "iconst_3",     6,              0x000000ff,     JVMNull )
inspick( iconst_4,      "iconst_4",     7,              0x000000ff,     JVMNull )
inspick( iconst_5,      "iconst_5",     8,              0x000000ff,     JVMNull )
inspick( lconst_0,      "lconst_0",     9,              0x000000ff,     JVMNull )
inspick( lconst_1,      "lconst_1",     10,             0x000000ff,     JVMNull )
inspick( fconst_0,      "fconst_0",     11,             0x000000ff,     JVMNull )
inspick( fconst_1,      "fconst_1",     12,             0x000000ff,     JVMNull )
inspick( fconst_2,      "fconst_2",     13,             0x000000ff,     JVMNull )
inspick( dconst_0,      "dconst_0",     14,             0x000000ff,     JVMNull )
inspick( dconst_1,      "dconst_1",     15,             0x000000ff,     JVMNull )
inspick( iload,         "iload",        21,             0x000000ff,     JVMWIndex )
inspick( iload_0,       "iload_0",      26,             0x000000ff,     JVMNull )
inspick( iload_1,       "iload_1",      27,             0x000000ff,     JVMNull )
inspick( iload_2,       "iload_2",      28,             0x000000ff,     JVMNull )
inspick( iload_3,       "iload_3",      29,             0x000000ff,     JVMNull )
inspick( lload,         "lload",        22,             0x000000ff,     JVMWIndex )
inspick( lload_0,       "lload_0",      30,             0x000000ff,     JVMNull )
inspick( lload_1,       "lload_1",      31,             0x000000ff,     JVMNull )
inspick( lload_2,       "lload_2",      32,             0x000000ff,     JVMNull )
inspick( lload_3,       "lload_3",      33,             0x000000ff,     JVMNull )
inspick( fload,         "fload",        23,             0x000000ff,     JVMWIndex )
inspick( fload_0,       "fload_0",      34,             0x000000ff,     JVMNull )
inspick( fload_1,       "fload_1",      35,             0x000000ff,     JVMNull )
inspick( fload_2,       "fload_2",      36,             0x000000ff,     JVMNull )
inspick( fload_3,       "fload_3",      37,             0x000000ff,     JVMNull )
inspick( dload,         "dload",        24,             0x000000ff,     JVMWIndex )
inspick( dload_0,       "dload_0",      38,             0x000000ff,     JVMNull )
inspick( dload_1,       "dload_1",      39,             0x000000ff,     JVMNull )
inspick( dload_2,       "dload_2",      40,             0x000000ff,     JVMNull )
inspick( dload_3,       "dload_3",      41,             0x000000ff,     JVMNull )
inspick( aload,         "aload",        25,             0x000000ff,     JVMWIndex )
inspick( aload_0,       "aload_0",      42,             0x000000ff,     JVMNull )
inspick( aload_1,       "aload_1",      43,             0x000000ff,     JVMNull )
inspick( aload_2,       "aload_2",      44,             0x000000ff,     JVMNull )
inspick( aload_3,       "aload_3",      45,             0x000000ff,     JVMNull )
inspick( istore,        "istore",       54,             0x000000ff,     JVMWIndex )
inspick( istore_0,      "istore_0",     59,             0x000000ff,     JVMNull )
inspick( istore_1,      "istore_1",     60,             0x000000ff,     JVMNull )
inspick( istore_2,      "istore_2",     61,             0x000000ff,     JVMNull )
inspick( istore_3,      "istore_3",     62,             0x000000ff,     JVMNull )
inspick( lstore,        "lstore",       55,             0x000000ff,     JVMWIndex )
inspick( lstore_0,      "lstore_0",     63,             0x000000ff,     JVMNull )
inspick( lstore_1,      "lstore_1",     64,             0x000000ff,     JVMNull )
inspick( lstore_2,      "lstore_2",     65,             0x000000ff,     JVMNull )
inspick( lstore_3,      "lstore_3",     66,             0x000000ff,     JVMNull )
inspick( fstore,        "fstore",       56,             0x000000ff,     JVMWIndex )
inspick( fstore_0,      "fstore_0",     67,             0x000000ff,     JVMNull )
inspick( fstore_1,      "fstore_1",     68,             0x000000ff,     JVMNull )
inspick( fstore_2,      "fstore_2",     69,             0x000000ff,     JVMNull )
inspick( fstore_3,      "fstore_3",     70,             0x000000ff,     JVMNull )
inspick( dstore,        "dstore",       57,             0x000000ff,     JVMWIndex )
inspick( dstore_0,      "dstore_0",     71,             0x000000ff,     JVMNull )
inspick( dstore_1,      "dstore_1",     72,             0x000000ff,     JVMNull )
inspick( dstore_2,      "dstore_2",     73,             0x000000ff,     JVMNull )
inspick( dstore_3,      "dstore_3",     74,             0x000000ff,     JVMNull )
inspick( astore,        "astore",       58,             0x000000ff,     JVMWIndex )
inspick( astore_0,      "astore_0",     75,             0x000000ff,     JVMNull )
inspick( astore_1,      "astore_1",     76,             0x000000ff,     JVMNull )
inspick( astore_2,      "astore_2",     77,             0x000000ff,     JVMNull )
inspick( astore_3,      "astore_3",     78,             0x000000ff,     JVMNull )
inspick( iinc,          "iinc",         132,            0x000000ff,     JVMIInc )
inspick( wide,          "wide",         196,            0x000000ff,     JVMWide )
inspick( newarray,      "newarray",     188,            0x000000ff,     JVMUByte )
inspick( anewarray,     "anewarray",    189,            0x000000ff,     JVMUShort )
inspick( multianewarray,"multianewarray",197,           0x000000ff,     JVMMultiANewArray )
inspick( arraylength,   "arraylength",  190,            0x000000ff,     JVMNull )
inspick( iaload,        "iaload",       46,             0x000000ff,     JVMNull )
inspick( laload,        "laload",       47,             0x000000ff,     JVMNull )
inspick( faload,        "faload",       48,             0x000000ff,     JVMNull )
inspick( daload,        "daload",       49,             0x000000ff,     JVMNull )
inspick( aaload,        "aaload",       50,             0x000000ff,     JVMNull )
inspick( baload,        "baload",       51,             0x000000ff,     JVMNull )
inspick( caload,        "caload",       52,             0x000000ff,     JVMNull )
inspick( saload,        "saload",       53,             0x000000ff,     JVMNull )
inspick( iastore,       "iastore",      79,             0x000000ff,     JVMNull )

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?