Small class file with loop from assembler gives odd behavior

Archie Cobbs archie at
Sun Mar 5 21:39:46 PST 2000

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).


Archie Cobbs   *   Whistle Communications, Inc.  *

More information about the kaffe mailing list