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.
|
Anyone know what's the difference between BIPUSH and SIPUSH when it comes to Opcodes?
From Opcodes Class:
Don't tell me 16 and 17, I see that. I want to know what each is used for.Code:public static final int BIPUSH = 16; public static final int SIPUSH = 17;
Thanks
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.
For future reference, try Java bytecode instruction listings - Wikipedia, the free encyclopedia
It doesn't take long to get a general idea of what each instruction does.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |