ORG80HMAIN:USING0MOVR0, #00HCLR AMOVDPTR,#WDTCCR MOVX @DPTR,AMOVCLKSWR,#051HMOVDPTR,#CLKDIVINCA MOVX @DPTR,AMOVDPTR,#P0M0 MOVX A,@DPTR ANL A,#0F0HORL A,#08HMOVX @DPTR,A CLR AMOVDPTR,#TCON1 MOVX @DPTR,AMOVTMOD,AMOVTH1,#0FAHMOVTL1,#0CBHORL IE,#08HORL TCON,#040HSETBEADE...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
brcc .bitclr ; carry == 0 => shift '0' sbi CtrlWrite, _SD ; shift '1' rjmp .nxtbit .bitclr: cbi CtrlWrite, _SD .nxtbit: sbi CtrlWrite, _SC ; rising edge to shift dec rLoop1 brne .shiftloop ; all bits done ? tst rCtrl ; control or data register brne select2DataW ...
WDTCON(86H):看门狗控制寄存器 地址 名称 7 6 5 4 3 2 1 0 上电复位值 86H WDTCON WDTCLR WDTSTA WDTRL WDTRSTEN WDTEN FRSEL[2:0] 00H 读/写 W/R W/R W/R W/R W/R W/R 位编号 7 6 5 4 3 2~0 位符号 说明 WDTCLR 看门狗刷新使能,1:刷新看门狗,写完后自动清零 WDTSTA 看门狗溢出...
【实验环境】 1、Ubuntu 7.0.4发行版 2、u-boot-1.3.1 3、FS2410平台 4、交叉编译器 arm-softfloat-linux-gnu-gcc-3.4.5 【实验步骤】 一、建立自己的平台类型 (1)解压文件 #tar jxvf u-boot-1.3.1.tar.bz2 (2)进入 U-Boot源码目录 #cd u-boot-1.3.1 (3)创建自己的开发板: #cd board #cp ...
/L20"ASM for C515C" Nocase Line Comment = ; String Chars = "' DisableMLS File Extensions = ASM LST /Delimiters = " # '()+,:;@[] /Function String = "%^([0-9a-z_]+^):" /C1"Instructions" ACALL ADD ADDC AJMP ANL CALL CJNE CLR CPL DA DEC DIV DJNZ DPTR INC JB JBC JC ...
(WDTON may be set or unset) ldi temp1, (1<<WDCE)+(1<<WDE) out WDTCR, temp1 ldi temp1, (1<<WDE) ; Fastest option: ~16.3ms timeout out WDTCR, temp1 ; Wait for power to settle -- this must be no longer than 64ms ; (with 64ms delayed start fuses) for i2c V2 protocol ...