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

jasmin/java question

Name: Anonymous 2009-06-23 9:50

hi /prog/,
i'm currently writing code for jasmin as part of a compiler for college. the output of the compiler is the code for a method in a starter class, the method gets called with a rts object as an argument which supplies functions like reading in integers/strings or string concatenation. as jasmin is undocumented as fuck, i'm having problems calling some of the rts methods via invokevirtual, as i didn't find any examples or documentation for calling methods with more than one argument, or methods returning objects (strings in my case).
right now the code for string concatenation (takes 2 strings as arguments, returns a string) looks like this:
invokevirtual RTS/conc(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String
would this be correct? also, do i have to load the object reference for the rts before or after the arguments? any help would be greatly appreciated...

Name: Anonymous 2009-06-23 12:00


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