about summary refs log tree commit diff stats
path: root/subx/teensy/test6-global.s
diff options
context:
space:
mode:
Diffstat (limited to 'subx/teensy/test6-global.s')
-rw-r--r--subx/teensy/test6-global.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/teensy/test6-global.s b/subx/teensy/test6-global.s
index 9b981b62..a09eecae 100644
--- a/subx/teensy/test6-global.s
+++ b/subx/teensy/test6-global.s
@@ -9,5 +9,5 @@ foo: dd 42
 SECTION .text
 GLOBAL main
 main:
-  mov eax, foo
+  mov eax, [foo]
   ret