Skip to content

Commit 4f1bfde

Browse files
committed
Expand documentation of syntax a bit
1 parent 4d17d31 commit 4f1bfde

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: docs/syntax.rst

+8-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ Instructions
5252
* ``push ...``
5353
* ``pull ...``
5454
* ``mov ...``
55-
* ``irq ...``
55+
* ``mov rxfifo[y|number], isr`` (requires PIO version 1 and compatible ``.fifo`` setting)
56+
* ``mov osr, rxfifo[y|number]`` (requires PIO version 1 and compatible ``.fifo`` setting)
57+
* ``irq <number> {rel}``
58+
* ``irq next|prev <number>``. (requires PIO version 1) adafruit_pioasm follows sdk pioasm in placing ``next`` and ``prev`` before the IRQ number. The datasheet (version 05c4754) implies a different syntax.
5659
* ``set ...``
5760

5861
Side-set and delay
@@ -75,7 +78,10 @@ is accepted. Arithmetic is not supported.
7578
Whitespace is not accepted in certain places, for instance within an instruction delay.
7679
It must be written ``[7]`` not ``[ 7 ]``.
7780

78-
Extra
81+
Extra commas that would not be acceptable to sdk pioasm are not always diagnosed.
82+
83+
Extra words in some locations that would not be acceptable to sdk pioasm are not always diagnosed.
84+
7985
CircuitPython extensions
8086
------------------------
8187

0 commit comments

Comments
 (0)