Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ctboard:peripherals:hexsw [2026/06/25 14:38] – [Programming Example] scbjctboard:peripherals:hexsw [2026/06/25 14:53] (current) – [Programming Example] scbj
Line 30: Line 30:
 \\ \\
  
-<code asm>+<code text>
 .equ ADDR_HEXSW,    0x60000211 .equ ADDR_HEXSW,    0x60000211
                                  
         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.
 </code> </code>
 \\ \\
  
  • ctboard/peripherals/hexsw.1782398292.txt.gz
  • Last modified: 2026/06/25 14:38
  • by scbj