Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How do I invoke a method in Java Assembly?

Name: Anonymous 2012-02-05 23:07

Hello /prog/, maybe you can help me with this...

So I'm learning Java Assembly with JASMIN, and I can't quite figure out how to invoke a method in the same class file.

http://pastebin.com/Fg7KRgzV

I have this "Generate(I)I" method given to me, but the compiler wants a "main" method to be written. So, I wrote the "main" header, but I am very unsure of the exact syntax of how to simply invoke that "Generate(I)I" method inside. I believe it's either needs the "invokestatic" or "invokevirtual" instruction. How does that syntax work? I've hopelessly tried many times to guess the actual syntax to get this running.

Name: Anonymous 2012-02-05 23:46

Umm, I don't think that you can use assembly in Java....

Name: Anonymous 2012-02-05 23:57

>>2
http://java.sun.com/docs/books/jvms/second_edition/html/Instructions.doc.html
A Java virtual machine instruction consists of an opcode specifying the operation to be performed, followed by zero or more operands embodying values to be operated upon. This chapter gives details about the format of each Java virtual machine instruction and the operation it performs.

Name: Anonymous 2012-02-06 8:12

working with java bytecode
why.png?  That shit is even worse than x86

Name: Anonymous 2012-02-06 11:44

>>4
Nothing can be worse than x86, except 8051, 8008 and 8080 all other Intel architectures designed on toilet paper by constipated Jews.

Name: Anonymous 2012-02-06 11:54

fctory objectfctory
mov object, fctory

Name: Anonymous 2012-02-06 12:28

>>5
MIPS is goy shit.

x86 SUPREMACY

Name: Anonymous 2012-02-06 13:12

>>4
It's not, and you would agree if you had a clue.

Name: Anonymous 2012-02-06 14:21

>>7
x86 was created when a Jew wiped his ass on a Z80 opcode list

Name: Anonymous 2012-02-06 14:47

>>9
too bad it's the fastest and most common architecture today

MIPS is goy shit.

Name: Anonymous 2012-02-06 14:56

>>10
fastest
no it's not................

Name: Anonymous 2012-02-06 15:00

>>10
Intel's shit Jew chips waste 2 billion transistors. You could fit 20 Loongsons or 300 MIPS R10000s in that space.

Name: Anonymous 2012-02-06 15:09

>>12
too bad nobody wants to invest into a better lithographic process for your [tg]oy CPUs

Name: Anonymous 2012-02-06 15:35

>>13
If MIPS used 22 nm processes they would be able to fit 100 cores on a chip and emulate the shit Jew architecture faster than Intel's own Jew chips.

Name: Anonymous 2012-02-06 15:49

The jews are after me.

Name: Anonymous 2012-02-06 15:59

>>14
such a pity you dumb goys don't have enough money to do that, ain't it

Name: Anonymous 2012-02-06 16:18

>>16
If Israel didn't beg for money from the U.S. government your Jew chip company's fabs would be used by Palestinians to make MIPS chips.
U mad dumb Jew?

Name: Anonymous 2012-02-06 17:20

OP here,

I leave this thread for a day and everyone inside has went to war.

I just want to know how to execute the method inside the same class.

I figured out how the syntax goes for "invokestatic", it's pretty much "invokestatic random/Generate(I)I". But, I take it the general idea here in Java Bytecode is to manually push and pop shit on stacks, which I am at a complete loss of how to implement code-wise in this case.

Name: Anonymous 2012-02-06 17:29

>>17
Why should I be mad about speculation that isn't going to occur?

Name: Anonymous 2013-11-30 8:00

░░░░░░░▄▀▀▀▀▀▀▀▀▀▀▄▄░░░░░░░░░
░░░░▄▀▀░░░░░░░░░░░░░▀▄░░░░░░░
░░▄▀░░░░░░░░░░░░░░░░░░▀▄░░░░░ YOU HAVE BEEN VISITED BY
░░█░░░░░░░░░░░░░░░░░░░░░▀▄░░░ LE 'FEEL OF NO GF
░▐▌░░░░░░░░▄▄▄▄▄▄▄░░░░░░░▐▌░░
░█░░░░░░░░░░░▄▄▄▄░░▀▀▀▀▀░░█░░ A qt 3.14 gf will come to you,
▐▌░░░░░░░▀▀▀▀░░░░░▀▀▀▀▀░░░▐▌░ but ONLY if you post a
█░░░░░░░░░▄▄▀▀▀▀▀░░░░▀▀▀▀▄░█░ `>tfw no GF on this thread
█░░░░░░░░░░░░░░░░▀░░░▐░░░░░▐▌
▐▌░░░░░░░░░▐██▀█▄░░░░░░█▀█░▐▌
░█░░░░░░░░░░░▀▀▀░░░░░░▀▀▀▀░▀▄
░▐▌░░░░▄░░░░░░░░░░░░░▌░░░░░░█
░░▐▌░░▐░░░░░░░░░░░░░░▀▄░░░░░█
░░░█░░░▌░░░░░░░░▐▀░░░░▄▀░░░▐▌
░░░▐▌░░▀▄░░░░░░░░▀░▀░▀▀░░░▄▀░
░░░▐▌░░▐▀▄░░░░░░░░░░░░░░░░█░░
░░░▐▌░░░▌░▀▄░░░░▀▀▀▀▀▀░░░█░░░
░░░█░░░▀░░░░▀▄░░░░░░░░░░▄▀░░░
░░▐▌░░░░░░░░░░▀▄░░░░░░▄▀░░░░░
░▄▀░░░▄▀░░░░░░░░▀▀▀▀█▀░░░░░░░

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List