Difference between revisions of "RP2040"

From ScienceZero
Jump to: navigation, search
(Created page with "== Instruction set == Bit: 15-13 | 12 - 8 | 7 6 5 | 4 3 2 1 0 JMP 0 0 0 | Delay/side-set | Condition | Address WAIT 0 0 1 | Delay/side-set | Pol| Src...")
 
Line 1: Line 1:
 
== Instruction set ==
 
== Instruction set ==
  
  Bit:  15-13 | 12     -    8 | 7  6  5 | 4 3  2 1 0
+
  Bit:  15-13 | 12 11 10 9 8   | 7  6  5   | 4 3  2 1 0
  JMP  0 0 0 | Delay/side-set | Condition | Address
+
  JMP  0 0 0 | Delay/side-set | Condition   | Address
  WAIT  0 0 1 | Delay/side-set | Pol| Src  | Index
+
  WAIT  0 0 1 | Delay/side-set | Pol|Source  | Index
  IN    0 1 0 | Delay/side-set | Source     | Bit-count
+
  IN    0 1 0 | Delay/side-set | Source     | Bit-count
  OUT  0 1 1 | Delay/side-set | Dest      | Bit-count
+
  OUT  0 1 1 | Delay/side-set | Destination | Bit-count
  PUSH  1 0 0 | Delay/side-set | 0|IfF|Blk | 0 0  0 0 0
+
  PUSH  1 0 0 | Delay/side-set | 0| IfF |Blk | 0 0  0 0 0
  PULL  1 0 0 | Delay/side-set | 1|IfE|Blk | 0 0  0 0 0
+
  PULL  1 0 0 | Delay/side-set | 1| IfE |Blk | 0 0  0 0 0
  MOV  1 0 1 | Delay/side-set | Dest      | Op | Source
+
  MOV  1 0 1 | Delay/side-set | Destination | Op | Source
  IRQ  1 1 0 | Delay/side-set | 0|Clr|Wait | Index
+
  IRQ  1 1 0 | Delay/side-set | 0|Clr|Wait | Index
  SET  1 1 1 | Delay/side-set | Dest      | Data
+
  SET  1 1 1 | Delay/side-set | Destination | Data

Revision as of 11:45, 9 August 2022

Instruction set

Bit:  15-13 | 12 11 10 9 8   | 7   6   5   | 4 3  2 1 0
JMP   0 0 0 | Delay/side-set | Condition   | Address
WAIT  0 0 1 | Delay/side-set | Pol|Source  | Index
IN    0 1 0 | Delay/side-set | Source      | Bit-count
OUT   0 1 1 | Delay/side-set | Destination | Bit-count
PUSH  1 0 0 | Delay/side-set | 0| IfF |Blk | 0 0  0 0 0
PULL  1 0 0 | Delay/side-set | 1| IfE |Blk | 0 0  0 0 0
MOV   1 0 1 | Delay/side-set | Destination | Op | Source
IRQ   1 1 0 | Delay/side-set | 0|Clr|Wait  | Index
SET   1 1 1 | Delay/side-set | Destination | Data