Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ctboard:peripherals:dipsw [2022/12/23 10:59] – ruan | ctboard:peripherals:dipsw [2026/06/25 14:53] (current) – [Programming Example] scbj | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Registers ===== | ===== Registers ===== | ||
| - | The Registers | + | The registers |
| \\ {{ctboard_dipsw_reg.svg}} \\ \\ | \\ {{ctboard_dipsw_reg.svg}} \\ \\ | ||
| Line 31: | Line 31: | ||
| \\ | \\ | ||
| - | < | + | < |
| - | ADDR_DIPSW | + | .equ ADDR_DIPSW, 0x60000200 |
| | | ||
| - | LDR | + | ldr r0, =ADDR_DIPSW |
| - | | + | |
| - | | + | |
| - | | + | |
| </ | </ | ||
| \\ | \\ | ||