We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b4d3d commit 9c94247Copy full SHA for 9c94247
tests/compat/fixes.S
@@ -0,0 +1,20 @@
1
+# This file tests various fixes to the assembler,
2
+# to ensure the binary output matches that of binutils.
3
+# a) support for left-aligned directives (e.g. .set without preceding whitespace)
4
+# b) a crash-fix related to data items in the .bss section
5
+# c) support for marking labels as global
6
+# d) support for upper case ULP opcode names
7
+#
8
+.set gpio, 2
9
+
10
+.bss
11
12
+counter:
13
+.long 0
14
15
+ .text
16
+ .global entry
17
+entry:
18
+ MOVE R1, gpio
19
+ WAIT 42
20
+ halt
0 commit comments