Thread: Bipush vs sipush

Results 1 to 3 of 3
  1. #1 Bipush vs sipush 
    Registered Member Bipush vs sipush
    gomomo11's Avatar
    Join Date
    May 2010
    Posts
    2,346
    Thanks given
    268
    Thanks received
    190
    Rep Power
    169
    Anyone know what's the difference between BIPUSH and SIPUSH when it comes to Opcodes?

    From Opcodes Class:
    Code:
        public static final int BIPUSH = 16;
        public static final int SIPUSH = 17;
    Don't tell me 16 and 17, I see that. I want to know what each is used for.
    Thanks
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Renown Programmer
    Bipush vs sipush

    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,440
    Thanks given
    0
    Thanks received
    830
    Rep Power
    2795
    BIPUSH pushes a signed byte onto the stack. SIPUSH pushes a signed short onto the stack.

    A simple search through the JVM specification would've told you that.
    tools: [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
    info: [Only registered and activated users can see links. ] | [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    ヽʕ ᴥʔノ Raise your koalas ヽʕ ᴥʔノ Bipush vs sipush

    Join Date
    Dec 2010
    Age
    20
    Posts
    2,946
    Thanks given
    494
    Thanks received
    1,737
    Rep Power
    4785
    For future reference, try [Only registered and activated users can see links. ]

    It doesn't take long to get a general idea of what each instruction does.
    goodbye
    Reply With Quote  
     

  5. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •