Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ctboard:peripherals:hexsw [2026/06/25 14:38] – [Programming Example] scbj | ctboard:peripherals:hexsw [2026/06/25 14:53] (current) – [Programming Example] scbj | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| \\ | \\ | ||
| - | < | + | < |
| .equ ADDR_HEXSW, | .equ ADDR_HEXSW, | ||
| | | ||
| ldr r0, =ADDR_HEXSW | ldr r0, =ADDR_HEXSW | ||
| - | ldrb r1, [r0, #0] /* Read HEXSW into the lower nibble of a byte. */ | + | ldrb r1, [r0, #0] // Read HEXSW into the lower nibble of a byte. |
| </ | </ | ||
| \\ | \\ | ||