标签:ar sp on bs ad nbsp res br ld
GPBCON EQU 0X56000010 ;把地址0x56000010赋给GPBCON
GPBDAT EQU 0X56000014
AREA RESET,CODE,READONLY
ENTRY
EXPORT __ENTRYa
__ENTRYa
ldr r0,=GPBCON ;r0->GPBCON
ldr r1,=(0x01<<10);
str r1,[r0];把r1写入r0
2
ldr r2,=GPBDAT
ldr r3,= (0x1<<5)
str r3,[r2]
ldr r3,= (0x0<<5)
str r3,[r2]
b %b2 ;开始循环
END
标签:ar sp on bs ad nbsp res br ld
原文地址:http://www.cnblogs.com/be-m/p/4141092.html