1 ; -*- Mode: Jasmin; indent-tabs-mode: t; tab-width: 4 -*-
2 ; ---------------------------------------------------------------------------
4 ; Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 ; ---------------------------------------------------------------------------
6 ; SquirrelJME is under the Mozilla Public License Version 2.0.
7 ; See license.mkd for licensing and copyright information.
8 ; ---------------------------------------------------------------------------
10 .
class public lang
/bytecode
/TestDupXTwoJI
11 .
super net
/multiphasicapps
/tac
/TestInteger
13 .
method public <init
>()V
15 invokenonvirtual net
/multiphasicapps
/tac
/TestInteger
/<init
>()V
19 .
method public test
()I
29 ; J b, I a -> I a, J b, I a
32 ; I a -> J a [I a, J b, J a]
34 ; J b + J a -> x [I a, J x]
37 ; J x -> I x [I a, I x]
40 ; I a + I x -> I y [I y]