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

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

con<b>text-BASED</b>

  • 單片直接驅動數碼管的計數器程序

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

    標簽: 直接驅動 數碼管 計數器 程序

    上傳時間: 2013-11-06

    上傳用戶:lx9076

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

    項目描述: 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是一個串行端口記錄工具。它監聽指定的串行端口并記錄所有通過這個端口的兩個方向的數據。 來源:http://freshmeat.net slsnif是一個串行端口日志工具。它監聽特殊的串口,記錄所有通過這具串口的兩個方向的數據。 類別: Development Status: 5 - Production/StableEnvironment: Console (Text Based)Intended Audience: DevelopersLicense: GNU General Public License (GPL)Operating System: LinuxProgramming Language: CTopic: Communications, Debuggers

    標簽: serial port specified logging

    上傳時間: 2014-01-17

    上傳用戶:許小華

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

    項目描述: 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是一個串行端口記錄工具。它監聽指定的串行端口并記錄所有通過這個端口的兩個方向的數據。 來源:http://freshmeat.net slsnif是一個串行端口日志工具。它監聽特殊的串口,記錄所有通過這具串口的兩個方向的數據。 類別: Development Status: 5 - Production/StableEnvironment: Console (Text Based)Intended Audience: DevelopersLicense: GNU General Public License (GPL)Operating System: LinuxProgramming Language: CTopic: Communications, Debuggers

    標簽: serial port specified logging

    上傳時間: 2013-12-12

    上傳用戶:silenthink

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

    項目描述: 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是一個搜索有關環境的所有東西的程序。它查詢進程IDs,UID, GID,信號掩碼,umask,優先權,文件描述符,和環境變量。它提供了用于anacron, apache, atd, crond, GDB, inittab, logrotate, PHP, pppd, procmail, rsh, rxvt, sendmail, SSH, stunnel, sudo, xinetd, 和xterm的測試配置。 類別: Development Status: 5 - Production/Stable Environment: Console (Text Based) Intended Audience: System Administrators License: GNU General Public License (GPL) Operating System: POSIX Topic: Security

    標簽: environment everything Env_audit ferrets

    上傳時間: 2013-12-02

    上傳用戶:qweqweqwe

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

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

    標簽: my_Include include define 3.141

    上傳時間: 2014-01-17

    上傳用戶:epson850

  • 數字運算

    數字運算,判斷一個數是否接近素數 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

    標簽: 數字 運算

    上傳時間: 2015-05-21

    上傳用戶:daguda

  • 源代碼用動態規劃算法計算序列關系個數 用關系"<"和"="將3個數a

    源代碼\用動態規劃算法計算序列關系個數 用關系"<"和"="將3個數a,b,c依次序排列時,有13種不同的序列關系: 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個數依序列,設計一個動態規劃算法,計算出有多少種不同的序列關系, 要求算法只占用O(n),只耗時O(n*n).

    標簽: lt 源代碼 動態規劃 序列

    上傳時間: 2013-12-26

    上傳用戶:siguazgb

  • c語言版的多項式曲線擬合。 用最小二乘法進行曲線擬合. 用p-1 次多項式進行擬合

    c語言版的多項式曲線擬合。 用最小二乘法進行曲線擬合. 用p-1 次多項式進行擬合,p<= 10 x,y 的第0個域x[0],y[0],沒有用,有效數據從x[1],y[1] 開始 nNodeNum,有效數據節點的個數。 b,為輸出的多項式系數,b[i] 為b[i-1]次項。b[0],沒有用。 b,有10個元素ok。

    標簽: 多項式 曲線擬合 c語言 最小二乘法

    上傳時間: 2014-01-12

    上傳用戶:變形金剛

  • crc任意位生成多項式 任意位運算 自適應算法 循環冗余校驗碼(CRC

    crc任意位生成多項式 任意位運算 自適應算法 循環冗余校驗碼(CRC,Cyclic Redundancy Code)是采用多項式的 編碼方式,這種方法把要發送的數據看成是一個多項式的系數 ,數據為bn-1bn-2…b1b0 (其中為0或1),則其對應的多項式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數據“10010101”可以寫為多項式 X7+X4+X2+1。 循環冗余校驗CRC 循環冗余校驗方法的原理如下: (1) 設要發送的數據對應的多項式為P(x)。 (2) 發送方和接收方約定一個生成多項式G(x),設該生成多項式 的最高次冪為r。 (3) 在數據塊的末尾添加r個0,則其相對應的多項式為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運算,T(x)所對應的數據是在原數 據塊的末尾加上余式所對應的數據得到的。 (6) 發送T(x)所對應的數據。 (7) 設接收端接收到的數據對應的多項式為T’(x),將T’(x)除以G(x) ,若余式為0,則認為沒有錯誤,否則認為有錯。

    標簽: crc CRC 多項式 位運算

    上傳時間: 2014-11-28

    上傳用戶:宋桃子

  • crc任意位生成多項式 任意位運算 自適應算法 循環冗余校驗碼(CRC

    crc任意位生成多項式 任意位運算 自適應算法 循環冗余校驗碼(CRC,Cyclic Redundancy Code)是采用多項式的 編碼方式,這種方法把要發送的數據看成是一個多項式的系數 ,數據為bn-1bn-2…b1b0 (其中為0或1),則其對應的多項式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數據“10010101”可以寫為多項式 X7+X4+X2+1。 循環冗余校驗CRC 循環冗余校驗方法的原理如下: (1) 設要發送的數據對應的多項式為P(x)。 (2) 發送方和接收方約定一個生成多項式G(x),設該生成多項式 的最高次冪為r。 (3) 在數據塊的末尾添加r個0,則其相對應的多項式為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運算,T(x)所對應的數據是在原數 據塊的末尾加上余式所對應的數據得到的。 (6) 發送T(x)所對應的數據。 (7) 設接收端接收到的數據對應的多項式為T’(x),將T’(x)除以G(x) ,若余式為0,則認為沒有錯誤,否則認為有錯

    標簽: crc CRC 多項式 位運算

    上傳時間: 2014-01-16

    上傳用戶:hphh

主站蜘蛛池模板: 屯昌县| 湾仔区| 黄浦区| 临汾市| 孝感市| 佛教| 台南市| 金塔县| 华阴市| 中卫市| 长宁县| 泊头市| 明星| 紫云| 葵青区| 台中县| 文登市| 肥城市| 温州市| 铜川市| 错那县| 石台县| 宝清县| 永兴县| 友谊县| 东乡| 镇坪县| 通州市| 江都市| 赤峰市| 大安市| 农安县| 镇坪县| 巫山县| 元氏县| 田阳县| 县级市| 南靖县| 湖北省| 临洮县| 紫阳县|