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 10:31

Jewbutts

Name: Anonymous 2009-06-23 10:53

>>2
wow, that's helpful
and i thought /g/ was a bad place to ask

Name: Anonymous 2009-06-23 10:56

>>3
Okay, sorry;
man jewbutts

Name: Anonymous 2009-06-23 11:04

>>4
>no manual entry for jewbutts
do you at least have an idea where i could ask?

Name: Anonymous 2009-06-23 11:37

>>5

read SICP

Name: Anonymous 2009-06-23 12:00

Name: Anonymous 2009-06-23 12:08

Name: Anonymous 2009-06-23 12:12

>>8
it's not like i'm too stupid to google things

Name: Anonymous 2009-06-23 12:40

>>1
invokevirtual RTS/conc(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String
forgot your ;
also, do i have to load the object reference for the rts before or after the arguments?
args are pushed left to right, target is arg 0
jasmin is undocumented as fuck
not really

Name: Anonymous 2009-06-23 12:46

>>7

hello, how can i withdraw my aids?

Name: Anonymous 2009-06-23 12:46

Why don't you just go to /g/?

Name: Anonymous 2009-06-23 12:56

This thread has been closed and replaced with the following thread:

Subject:
How can I echo to a different xterm window?
Name:
Email:


I know that tty will return the terminal device, but how do I direct output there?

Name: Anonymous 2009-06-23 13:08

I dream of cocks drifting across the blue sky.

Name: Anonymous 2009-06-23 13:17

>>9
Clearly, you are.

Name: Anonymous 2009-06-23 14:31

>>13
Look up fifo files.

Name: Anonymous 2009-06-23 14:34

man 1 write

Name: Anonymous 2009-06-23 15:09

>>17
WOW IT WORKS I JUST MAILED MYSELF FREAKY!!!

Name: Anonymous 2009-06-23 15:15

>>18
i only post correct solutions

Name: Anonymous 2009-06-23 16:10

>>17
It only opens Wordpad for me :(

Name: Anonymous 2010-11-02 10:43

Name: Anonymous 2011-01-31 21:10

<-- check em dubz

Name: Anonymous 2011-02-03 4:51

Name: Anonymous 2011-02-04 18:18

Name: tray 2012-03-14 23:11


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