aboutsummaryrefslogtreecommitdiffstats
path: root/asm/test_py_src.py
diff options
context:
space:
mode:
Diffstat (limited to 'asm/test_py_src.py')
-rw-r--r--asm/test_py_src.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/asm/test_py_src.py b/asm/test_py_src.py
index 48a5cac..9af944e 100644
--- a/asm/test_py_src.py
+++ b/asm/test_py_src.py
@@ -1,16 +1,10 @@
import atk16
-if True:
- 2
-else:
- 3
+def func(arg1: int, arg2: int) -> int:
+ a = arg1
+ return a + a
-while 3:
- 4
- break
- 5
-else:
- 6
+b = func(1, 3)
# TEXT_MODE: atk16.ConstInt = 1
# GRAPHICS_MODE_ADDR: atk16.ConstInt = 0x17