Assembler Java
Monografias: Assembler Java. Pesquise 862.000+ trabalhos acadêmicosPor: teocasa • 13/6/2014 • 739 Palavras (3 Páginas) • 327 Visualizações
.class public Teste
.super java/lang/Object
.method public static main([Ljava/lang/String;)V
.limit stack 100
.limit locals 100
ldc 4
istore 0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc 7
ldc 4
ldc 5
if_icmple L1
ldc 1
goto L0
L1:
ldc 0
L0:
if_icmplt L3
ldc 1
goto L2
L3:
ldc 0
L2:
invokevirtual java/io/PrintStream/println(I)V
return
.end method
.class public Teste
.super java/lang/Object
.method public static main([Ljava/lang/String;)V
.limit stack 100
.limit locals 100
ldc 4
istore 0
getstatic java/lang/System/out Ljava/io/PrintStream;
ldc 7
ldc 4
ldc 5
if_icmple L1
ldc 1
goto L0
L1:
ldc 0
L0:
if_icmplt L3
ldc 1
goto L2
L3:
ldc 0
L2:
invokevirtual java/io/PrintStream/println(I)V
return
.end method
...