标签:
1 #define GPJ0CON 0xE0200240 2 #define GPJ0DAT 0xE0200244 3 4 .globl _start 5 6 _start: 7 ldr r0, =GPJ0CON 8 ldr r1, =0x00111000 9 str r1, [r0] 10 ldr r0, =GPJ0DAT 11 ldr r1, =~(0x1<<4) 12 str r1, [r0] 13 halt: 14 b halt
标签:
原文地址:http://www.cnblogs.com/frank-yxs/p/5927419.html