aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-01-24 22:54:04 +0100
committertomsmeding <tom.smeding@gmail.com>2018-01-24 22:54:04 +0100
commit7d4da488404d65805132a8787951759897a60dfc (patch)
treed4d8147a73cda3e40ae9ae03ce660167290f8ca4
parentf36879c1d42e34d593dff204e26ecfb10eb6dfac (diff)
Modify test/t2.c
-rw-r--r--test/t2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/t2.c b/test/t2.c
index 1091313..11ce9b8 100644
--- a/test/t2.c
+++ b/test/t2.c
@@ -1,5 +1,13 @@
int dir = 0;
+void holo_dec(int value) {
+ asm {
+ mov a, 3
+ mov b, @value
+ hwi 9
+ }
+}
+
void main() {
asm {
mov a, 2