亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊(cè)

con<b>text-based</b>

  • 單片直接驅(qū)動(dòng)數(shù)碼管的計(jì)數(shù)器程序

      a_bit equ 20h ;個(gè)位數(shù)存放處   b_bit equ 21h ;十位數(shù)存放處   temp equ 22h ;計(jì)數(shù)器寄存器   star: mov temp,#0 ;初始化計(jì)數(shù)器   stlop: acall display   inc temp   mov a,temp   cjne a,#100,next ;=100重來   mov temp,#0   next: ljmp stlop   ;顯示子程序   display: mov a,temp ;將temp中的十六進(jìn)制數(shù)轉(zhuǎn)換成10進(jìn)制   mov b,#10 ;10進(jìn)制/10=10進(jìn)制   div ab   mov b_bit,a ;十位在a   mov a_bit,b ;個(gè)位在b   mov dptr,#numtab ;指定查表啟始地址   mov r0,#4   dpl1: mov r1,#250 ;顯示1000次   dplop: mov a,a_bit ;取個(gè)位數(shù)   MOVC A,@A+DPTR ;查個(gè)位數(shù)的7段代碼   mov p0,a ;送出個(gè)位的7段代碼

    標(biāo)簽: 直接驅(qū)動(dòng) 數(shù)碼管 計(jì)數(shù)器 程序

    上傳時(shí)間: 2013-11-06

    上傳用戶:lx9076

  • 項(xiàng)目描述: slsnif is a serial port logging utility. It listens to the specified serial port and logs all

    項(xiàng)目描述: slsnif is a serial port logging utility. It listens to the specified serial port and logs all data going through this port in both directions. Serial line sniffer是一個(gè)串行端口記錄工具。它監(jiān)聽指定的串行端口并記錄所有通過這個(gè)端口的兩個(gè)方向的數(shù)據(jù)。 來源:http://freshmeat.net slsnif是一個(gè)串行端口日志工具。它監(jiān)聽特殊的串口,記錄所有通過這具串口的兩個(gè)方向的數(shù)據(jù)。 類別: Development Status: 5 - Production/StableEnvironment: Console (Text Based)Intended Audience: DevelopersLicense: GNU General Public License (GPL)Operating System: LinuxProgramming Language: CTopic: Communications, Debuggers

    標(biāo)簽: serial port specified logging

    上傳時(shí)間: 2014-01-17

    上傳用戶:許小華

  • 項(xiàng)目描述: slsnif is a serial port logging utility. It listens to the specified serial port and logs all

    項(xiàng)目描述: slsnif is a serial port logging utility. It listens to the specified serial port and logs all data going through this port in both directions. Serial line sniffer是一個(gè)串行端口記錄工具。它監(jiān)聽指定的串行端口并記錄所有通過這個(gè)端口的兩個(gè)方向的數(shù)據(jù)。 來源:http://freshmeat.net slsnif是一個(gè)串行端口日志工具。它監(jiān)聽特殊的串口,記錄所有通過這具串口的兩個(gè)方向的數(shù)據(jù)。 類別: Development Status: 5 - Production/StableEnvironment: Console (Text Based)Intended Audience: DevelopersLicense: GNU General Public License (GPL)Operating System: LinuxProgramming Language: CTopic: Communications, Debuggers

    標(biāo)簽: serial port specified logging

    上傳時(shí)間: 2013-12-12

    上傳用戶:silenthink

  • 項(xiàng)目描述: Env_audit is a program that ferrets out everything it can about the environment. It looks for

    項(xiàng)目描述: Env_audit is a program that ferrets out everything it can about the environment. It looks for process IDs, UID, GID, signal masks, umask, priority, file descriptors, and environmental variables. It comes with test configurations for anacron, apache, atd, crond, GDB, inittab, logrotate, PHP, pppd, procmail, rsh, rxvt, sendmail, SSH, stunnel, sudo, xinetd, and xterm. env_audit是一個(gè)搜索有關(guān)環(huán)境的所有東西的程序。它查詢進(jìn)程IDs,UID, GID,信號(hào)掩碼,umask,優(yōu)先權(quán),文件描述符,和環(huán)境變量。它提供了用于anacron, apache, atd, crond, GDB, inittab, logrotate, PHP, pppd, procmail, rsh, rxvt, sendmail, SSH, stunnel, sudo, xinetd, 和xterm的測(cè)試配置。 類別: Development Status: 5 - Production/Stable Environment: Console (Text Based) Intended Audience: System Administrators License: GNU General Public License (GPL) Operating System: POSIX Topic: Security

    標(biāo)簽: environment everything Env_audit ferrets

    上傳時(shí)間: 2013-12-02

    上傳用戶:qweqweqwe

  • C++完美演繹 經(jīng)典算法 如 /* 頭文件:my_Include.h */ #include <stdio.h> /* 展開C語言的內(nèi)建函數(shù)指令 */ #define PI 3.141

    C++完美演繹 經(jīng)典算法 如 /* 頭文件:my_Include.h */ #include <stdio.h> /* 展開C語言的內(nèi)建函數(shù)指令 */ #define PI 3.1415926 /* 宏常量,在稍后章節(jié)再詳解 */ #define circle(radius) (PI*radius*radius) /* 宏函數(shù),圓的面積 */ /* 將比較數(shù)值大小的函數(shù)寫在自編include文件內(nèi) */ int show_big_or_small (int a,int b,int c) { int tmp if (a>b) { tmp = a a = b b = tmp } if (b>c) { tmp = b b = c c = tmp } if (a>b) { tmp = a a = b b = tmp } printf("由小至大排序之后的結(jié)果:%d %d %d\n", a, b, c) } 程序執(zhí)行結(jié)果: 由小至大排序之后的結(jié)果:1 2 3 可將內(nèi)建函數(shù)的include文件展開在自編的include文件中 圓圈的面積是=201.0619264

    標(biāo)簽: my_Include include define 3.141

    上傳時(shí)間: 2014-01-17

    上傳用戶:epson850

  • 數(shù)字運(yùn)算

    數(shù)字運(yùn)算,判斷一個(gè)數(shù)是否接近素?cái)?shù) A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標(biāo)簽: 數(shù)字 運(yùn)算

    上傳時(shí)間: 2015-05-21

    上傳用戶:daguda

  • 源代碼用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a

    源代碼\用動(dòng)態(tài)規(guī)劃算法計(jì)算序列關(guān)系個(gè)數(shù) 用關(guān)系"<"和"="將3個(gè)數(shù)a,b,c依次序排列時(shí),有13種不同的序列關(guān)系: a=b=c,a=b<c,a<b=v,a<b<c,a<c<b a=c<b,b<a=c,b<a<c,b<c<a,b=c<a c<a=b,c<a<b,c<b<a 若要將n個(gè)數(shù)依序列,設(shè)計(jì)一個(gè)動(dòng)態(tài)規(guī)劃算法,計(jì)算出有多少種不同的序列關(guān)系, 要求算法只占用O(n),只耗時(shí)O(n*n).

    標(biāo)簽: lt 源代碼 動(dòng)態(tài)規(guī)劃 序列

    上傳時(shí)間: 2013-12-26

    上傳用戶:siguazgb

  • c語言版的多項(xiàng)式曲線擬合。 用最小二乘法進(jìn)行曲線擬合. 用p-1 次多項(xiàng)式進(jìn)行擬合

    c語言版的多項(xiàng)式曲線擬合。 用最小二乘法進(jìn)行曲線擬合. 用p-1 次多項(xiàng)式進(jìn)行擬合,p<= 10 x,y 的第0個(gè)域x[0],y[0],沒有用,有效數(shù)據(jù)從x[1],y[1] 開始 nNodeNum,有效數(shù)據(jù)節(jié)點(diǎn)的個(gè)數(shù)。 b,為輸出的多項(xiàng)式系數(shù),b[i] 為b[i-1]次項(xiàng)。b[0],沒有用。 b,有10個(gè)元素ok。

    標(biāo)簽: 多項(xiàng)式 曲線擬合 c語言 最小二乘法

    上傳時(shí)間: 2014-01-12

    上傳用戶:變形金剛

  • crc任意位生成多項(xiàng)式 任意位運(yùn)算 自適應(yīng)算法 循環(huán)冗余校驗(yàn)碼(CRC

    crc任意位生成多項(xiàng)式 任意位運(yùn)算 自適應(yīng)算法 循環(huán)冗余校驗(yàn)碼(CRC,Cyclic Redundancy Code)是采用多項(xiàng)式的 編碼方式,這種方法把要發(fā)送的數(shù)據(jù)看成是一個(gè)多項(xiàng)式的系數(shù) ,數(shù)據(jù)為bn-1bn-2…b1b0 (其中為0或1),則其對(duì)應(yīng)的多項(xiàng)式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數(shù)據(jù)“10010101”可以寫為多項(xiàng)式 X7+X4+X2+1。 循環(huán)冗余校驗(yàn)CRC 循環(huán)冗余校驗(yàn)方法的原理如下: (1) 設(shè)要發(fā)送的數(shù)據(jù)對(duì)應(yīng)的多項(xiàng)式為P(x)。 (2) 發(fā)送方和接收方約定一個(gè)生成多項(xiàng)式G(x),設(shè)該生成多項(xiàng)式 的最高次冪為r。 (3) 在數(shù)據(jù)塊的末尾添加r個(gè)0,則其相對(duì)應(yīng)的多項(xiàng)式為M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),獲得商Q(x)和余式R(x),則 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2運(yùn)算,T(x)所對(duì)應(yīng)的數(shù)據(jù)是在原數(shù) 據(jù)塊的末尾加上余式所對(duì)應(yīng)的數(shù)據(jù)得到的。 (6) 發(fā)送T(x)所對(duì)應(yīng)的數(shù)據(jù)。 (7) 設(shè)接收端接收到的數(shù)據(jù)對(duì)應(yīng)的多項(xiàng)式為T’(x),將T’(x)除以G(x) ,若余式為0,則認(rèn)為沒有錯(cuò)誤,否則認(rèn)為有錯(cuò)。

    標(biāo)簽: crc CRC 多項(xiàng)式 位運(yùn)算

    上傳時(shí)間: 2014-11-28

    上傳用戶:宋桃子

  • crc任意位生成多項(xiàng)式 任意位運(yùn)算 自適應(yīng)算法 循環(huán)冗余校驗(yàn)碼(CRC

    crc任意位生成多項(xiàng)式 任意位運(yùn)算 自適應(yīng)算法 循環(huán)冗余校驗(yàn)碼(CRC,Cyclic Redundancy Code)是采用多項(xiàng)式的 編碼方式,這種方法把要發(fā)送的數(shù)據(jù)看成是一個(gè)多項(xiàng)式的系數(shù) ,數(shù)據(jù)為bn-1bn-2…b1b0 (其中為0或1),則其對(duì)應(yīng)的多項(xiàng)式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數(shù)據(jù)“10010101”可以寫為多項(xiàng)式 X7+X4+X2+1。 循環(huán)冗余校驗(yàn)CRC 循環(huán)冗余校驗(yàn)方法的原理如下: (1) 設(shè)要發(fā)送的數(shù)據(jù)對(duì)應(yīng)的多項(xiàng)式為P(x)。 (2) 發(fā)送方和接收方約定一個(gè)生成多項(xiàng)式G(x),設(shè)該生成多項(xiàng)式 的最高次冪為r。 (3) 在數(shù)據(jù)塊的末尾添加r個(gè)0,則其相對(duì)應(yīng)的多項(xiàng)式為M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),獲得商Q(x)和余式R(x),則 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2運(yùn)算,T(x)所對(duì)應(yīng)的數(shù)據(jù)是在原數(shù) 據(jù)塊的末尾加上余式所對(duì)應(yīng)的數(shù)據(jù)得到的。 (6) 發(fā)送T(x)所對(duì)應(yīng)的數(shù)據(jù)。 (7) 設(shè)接收端接收到的數(shù)據(jù)對(duì)應(yīng)的多項(xiàng)式為T’(x),將T’(x)除以G(x) ,若余式為0,則認(rèn)為沒有錯(cuò)誤,否則認(rèn)為有錯(cuò)

    標(biāo)簽: crc CRC 多項(xiàng)式 位運(yùn)算

    上傳時(shí)間: 2014-01-16

    上傳用戶:hphh

主站蜘蛛池模板: 天峻县| 黄大仙区| 枞阳县| 汝南县| 内江市| 灌南县| 古田县| 通化县| 当涂县| 房产| 日喀则市| 富平县| 镇雄县| 革吉县| 昂仁县| 行唐县| 苏尼特右旗| 响水县| 蒲江县| 旬邑县| 平果县| 哈尔滨市| 密云县| 普兰店市| 尼木县| 阿拉善盟| 博客| 佛教| 淄博市| 乡城县| 忻州市| 石嘴山市| 闵行区| 游戏| 独山县| 洛宁县| 光山县| 建水县| 兖州市| 新干县| 宾阳县|