上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页
摘要: >___ */1126 s _ _ _ _ _ _ _ _ ,1127 s _ _ _ _ _ _ _ _ ,1128 s _ _ _ _ _ _ _ _ ,1129 s _ _ _ _ _ _ _ _ ,1130 s _ _ _ _ _ _ _ _ ,1131 s _ _ X _ _ _ _ _ ,1132 s _ _ _ X _ _ _ _ ,1133 s _ _ _ _ X _ _ _ ,1134 s _ _ _ _ _ X _ _ ,1135 s _ _ _ _ X _ _ _ ,1136 s _ _ _ X _ _ _ _ ,1137 s _ _ X _ _ _ _ _ ,11 阅读全文
posted @ 2014-04-04 20:49 beautifulzzzz 阅读(3125) 评论(0) 推荐(1) 编辑
摘要: >__________<:谢谢分享总结这么好的知识] 阅读全文
posted @ 2014-04-03 19:42 beautifulzzzz 阅读(4185) 评论(0) 推荐(2) 编辑
摘要: 1 ; multi-segment executable file template. 2 3 data segment 4 5 ends 6 7 stack segment 8 dw 128 dup(0) 9 ends10 11 code segment12 start:13 ; set segment registers:14 mov ax, data15 mov ds, ax16 mov es, ax17 18 ; add your code here 19 BEGIN: 20 MOV AH, 1 ... 阅读全文
posted @ 2014-04-03 14:57 beautifulzzzz 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: 1 ; multi-segment executable file template. 2 3 data segment 4 STRING DB 'SPACE EXPLORERS INC' 5 PRLINE DB 'SPACE EXPLORERS INCE' 6 LAST DB ' ' 7 same DB 'MATCH$' 8 nsame DB 'NO MATCH$' 9 ends10 11 stack segment12 dw 128 dup(0)13 ends14 15 code segment16 start 阅读全文
posted @ 2014-04-03 14:56 beautifulzzzz 阅读(5996) 评论(0) 推荐(1) 编辑
摘要: 1 ; multi-segment executable file template. 2 3 data segment 4 ; add your data here! 5 pkey db "press any key...$" 6 STRING DB 'The date is FEB&03$' 7 ends 8 9 stack segment10 dw 128 dup(0)11 ends12 13 code segment14 start:15 ; set segment registers:16 mov ax, data17 ... 阅读全文
posted @ 2014-04-03 14:54 beautifulzzzz 阅读(1606) 评论(0) 推荐(0) 编辑
摘要: >__<:带进位2位相加; multi-segment executable file template.data segment datax dw 0148H,2316H datay dw 0237H,4052H endsstack segment dw 128 dup(0)endscode segmentstart:; set segment registers: mov ax,data mov ds,ax mov es,ax ; add your code here mov ax, datax ... 阅读全文
posted @ 2014-04-03 14:53 beautifulzzzz 阅读(596) 评论(0) 推荐(0) 编辑
摘要: >___ //包含头文件,一般情况不需要改动,头文件包含特殊功能寄存器的定义 8 9 sbit LED=P1^2; //定义LED端口10 11 /*------------------------------------------------12 定时器初始化子程序13 ------------------------------------------------*/14 void TIM2Inital(void)15 {16 RCAP2H = (65536-60000)/256;//晶振12M 60ms 16bit 自动重载17 RCAP2L = (65536-... 阅读全文
posted @ 2014-04-03 00:20 beautifulzzzz 阅读(1788) 评论(0) 推荐(0) 编辑
摘要: >___ //包含头文件,一般情况不需要改动,头文件包含特殊功能寄存器的定义 8 9 sbit LED=P1^2; //定义LED端口10 11 /*------------------------------------------------12 定时器初始化子程序13 ------------------------------------------------*/14 void Init_Timer0(void)15 {16 TMOD |= 0x01; //使用模式1,16位定时器,使用"|"符号可以在使用多个定时器时不受影响 17 ... 阅读全文
posted @ 2014-04-03 00:05 beautifulzzzz 阅读(1824) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-02 23:51 beautifulzzzz 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 这是4X4按键映射为0-F的16个字符输入并显示在屏上的程序:[这里要额外的把单片机p1的8个脚和矩阵键盘的8个脚相连] 1 /*----------------------------------------------- 2 名称:LCD1602 3 论坛:www.doflye.net 4 编写:shifang 5 内容:通过矩阵键盘输入,依次显示0-F16中字符 6 引脚定义如下:1-VSS 2-VDD 3-V0 4-RS 5-R/W 6-E 7-14 DB0-DB7 15-BLA 16-BLK 7 -------------------------------------... 阅读全文
posted @ 2014-04-02 22:51 beautifulzzzz 阅读(1387) 评论(0) 推荐(0) 编辑
摘要: >__ //包含头文件,一般情况不需要改动,头文件包含特殊功能寄存器的定义 9 #include 10 11 sbit RS = P2^4; //定义端口 12 sbit RW = P2^5; 13 sbit EN = P2^6; 14 15 #define RS_CLR RS=0 16 #define RS_SET RS=1 17 18 #define RW_CLR RW=0 19 #define RW_SET RW=1 20 21 #define EN_CLR EN=0 22 #define EN_SET EN=1 23 24 #define DataPort P0... 阅读全文
posted @ 2014-04-02 18:05 beautifulzzzz 阅读(9452) 评论(11) 推荐(4) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 #define e 0.00000001 6 #define maxn 50 7 8 int n;//规模nXn 9 double a[maxn][... 阅读全文
posted @ 2014-04-01 00:37 beautifulzzzz 阅读(11467) 评论(0) 推荐(2) 编辑
摘要: DescriptionYour new company is building a robot that can hold small lightweight objects. The robot will have the intelligence to determine if an objec... 阅读全文
posted @ 2014-03-30 16:13 beautifulzzzz 阅读(589) 评论(0) 推荐(0) 编辑
摘要: "One thing is for certain: there is no stopping them;the ants will soon be here. And I, for one, welcome ournew insect overlords."Kent BrockmanPiotr l... 阅读全文
posted @ 2014-03-30 14:55 beautifulzzzz 阅读(1112) 评论(0) 推荐(1) 编辑
摘要: DescriptionProgramming contests became so popular in the year 2397 that the governor of New Earck -- the largest human-inhabited planet of the galaxy ... 阅读全文
posted @ 2014-03-30 13:06 beautifulzzzz 阅读(563) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页