Small class file with loop from assembler gives odd behavior
kaffe@rufus.w3.org
kaffe@rufus.w3.org
Mon, 6 Mar 2000 01:24:46 -0500
--A6N2fC+uXW/VQSAv
Content-Type: text/plain; charset=us-ascii
Archie Cobbs wrote:
> Bradley M. Kuhn writes:
> > I am generating Jasmin assembler files that are being compiled with Jasmin,
> > and then run in the VM. I had been using the Blackdown proprietary VM, but
> > wanted to switch to kaffe. I found that kaffe did not work when I had an
> > assembler file such as this:
> >
> > .source Main.jasmin
> > .class public Main
> > .super java/lang/Object
> > .method static public main([Ljava/lang/String;)V
> > iconst_1
> > Start_0:
> > ifne End_1
> > goto Start_0
> > End_1:
> > return
> > .end method
> >
> >
> > I have attached the .class file that jasmin generates. As far as I can tell
> > from the jasmin source, and from using "javap -c" with Blackdown's VM, this
> > should simply return without error.
>
> Your .class file was not attached.. please resend it (don't have
> jasmin handy).
I am sorry. I forgot to attach the .class file when I forwarded the
message to the list. BTW, is kaffe-bugs@www.kaffe.org going to be
fixed, or is there a better place to send bug reports?
Anyway, here is the .class file for the .jasmin file I included above.
--
- bkuhn@ebb.org - Bradley M. Kuhn - bkuhn@gnu.org -
http://www.ebb.org/bkuhn
--A6N2fC+uXW/VQSAv
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="Main.class"
Content-Transfer-Encoding: base64
yv66vgADAC0ACgEAClNvdXJjZUZpbGUBAARNYWluBwAGBwACAQALTWFpbi5qYXNtaW4BABBq
YXZhL2xhbmcvT2JqZWN0AQAWKFtMamF2YS9sYW5nL1N0cmluZzspVgEABENvZGUBAARtYWlu
ACEABAADAAAAAAABAAkACQAHAAEACAAAABQAAQABAAAACASaAAan//2xAAAAAAABAAEAAAAC
AAU=
--A6N2fC+uXW/VQSAv--