it does not crash

This commit is contained in:
Christoph J. Scherr 2023-12-10 15:15:11 +01:00
parent 0c8e076a75
commit 58cff0bba6
1 changed files with 6 additions and 5 deletions

View File

@ -46,7 +46,8 @@
.limit locals 1
.limit stack 2
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc "Hello world"
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
bipush 5 ; set parameter 1
invokestatic Factorial/factorial(I)I ; call factorial
invokevirtual java/io/PrintStream/println(I)V
return
.end method