about summary refs log tree commit diff stats
path: root/example/samples/msp430.S
diff options
context:
space:
mode:
Diffstat (limited to 'example/samples/msp430.S')
-rw-r--r--example/samples/msp430.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/samples/msp430.S b/example/samples/msp430.S
new file mode 100644
index 00000000..77f4b448
--- /dev/null
+++ b/example/samples/msp430.S
@@ -0,0 +1,8 @@
+main:
+    mov.w      0x10, R10
+    mov.w      0x0, R11
+loop:
+    add.w      1, R11
+    sub.w      1, R10
+    jnz        loop
+    mov.w      @SP+, PC