上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页
摘要: VirusWe have a log file, which is a sequence of recorded events. Naturally, the timestamps are strictly increasing.However, it is infected by a virus... 阅读全文
posted @ 2014-04-07 22:13 beautifulzzzz 阅读(772) 评论(0) 推荐(0)
摘要: Updating a DictionaryIn this problem, a dictionary is collection of key-value pairs, where keys are lower-case letters, and values are non-negative i... 阅读全文
posted @ 2014-04-07 21:47 beautifulzzzz 阅读(570) 评论(0) 推荐(0)
摘要: Robot InstructionsYou have a robot standing on the origin of x axis. The robot will be given some instructions. Your task is to predict its position ... 阅读全文
posted @ 2014-04-07 21:41 beautifulzzzz 阅读(1115) 评论(0) 推荐(0)
摘要: Three FamiliesThree families share a garden. They usually clean the garden together at the end of each week, but last week, family C was on holiday, ... 阅读全文
posted @ 2014-04-07 21:35 beautifulzzzz 阅读(714) 评论(0) 推荐(0)
摘要: >_>8; 51 n=y; 52 Write_Cmd(0x00,x); 53 Write_Data(m,n); 54 55 } 56 57 /*---------------------------------------------------------------- 58 写16位数据 59 ----------------------------------------------------------------*/ 60 void Write_Data_U16(unsigned int y) 61 { 62 unsigned char... 阅读全文
posted @ 2014-04-06 21:40 beautifulzzzz 阅读(1955) 评论(0) 推荐(0)
摘要: >__<:则模仿上一个博客里彩屏模版里的的GB1616的代码有: 1 #include "GB3232.h" //32*32汉字字模 2 3 void PutGB3232(unsigned short x, unsigned short y, unsigned char c[2], unsigned int fColor,unsigned int bColor){ 4 unsigned int i,j,k; 5 6 LCD_SetPos(x, x+32-1,y, y+32-1); 7 8 for (k=0;k<5;k++) { //5标示... 阅读全文
posted @ 2014-04-04 21:16 beautifulzzzz 阅读(1851) 评论(0) 推荐(0)
摘要: >___ */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 阅读(3746) 评论(0) 推荐(1)
摘要: >__________<:谢谢分享总结这么好的知识] 阅读全文
posted @ 2014-04-03 19:42 beautifulzzzz 阅读(4292) 评论(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 阅读(2339) 评论(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 阅读(6068) 评论(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 阅读(1642) 评论(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 阅读(618) 评论(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 阅读(1832) 评论(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 阅读(1893) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2014-04-02 23:51 beautifulzzzz 阅读(884) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 35 下一页