Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestINeg.j
blobb01ca1f7c0187d845fd3a82d3491b5fc2c80220a
1 ; -*- Mode: Jasmin; indent-tabs-mode: t; tab-width: 4 -*-
2 ; ---------------------------------------------------------------------------
3 ; Multi-Phasic Applications: SquirrelJME
4 ; Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 ; ---------------------------------------------------------------------------
6 ; SquirrelJME is under the GNU General Public License v3+, or later.
7 ; See license.mkd for licensing and copyright information.
8 ; ---------------------------------------------------------------------------
10 .class public lang/bytecode/TestINeg
11 .super lang/bytecode/BaseMathIntegerSingle
13 .method public <init>()V
14 aload 0
15 invokenonvirtual lang/bytecode/BaseMathIntegerSingle/<init>()V
16 return
17 .end method
19 .method public calc(I)I
20 .limit locals 2
21 .limit stack 2
22 iload_1
24 ; Calculate then return
25 ineg
26 ireturn
27 .end method