三a级做爰片免费观看玉蒲团,伊人久久亚洲综合av影院,午夜永久免费爽爽爽影院,西川唯久久久久久久综合

qxf0218
級(jí)別: 探索解密
精華主題: 0
發(fā)帖數(shù)量: 18 個(gè)
工控威望: 135 點(diǎn)
下載積分: 607 分
在線(xiàn)時(shí)間: 3(小時(shí))
注冊(cè)時(shí)間: 2014-03-24
最后登錄: 2016-07-11
查看qxf0218的 主題 / 回貼
樓主  發(fā)表于: 2014-07-01 11:01
西門(mén)子S7-300 BCC數(shù)據(jù)效驗(yàn)和             誰(shuí)有用過(guò)的程序?分享一份。謝謝
學(xué)無(wú)止境
zjiori
級(jí)別: 正式會(huì)員
精華主題: 0
發(fā)帖數(shù)量: 4 個(gè)
工控威望: 94 點(diǎn)
下載積分: 578 分
在線(xiàn)時(shí)間: 3(小時(shí))
注冊(cè)時(shí)間: 2014-12-09
最后登錄: 2014-12-31
查看zjiori的 主題 / 回貼
1樓  發(fā)表于: 2014-12-16 16:00
接口: IN: DB_NO  INT  DB number
           LEN    INT  Length of source area
       OUT:RETVAL INT  RETVAL
       TEMP:w_db_no  Word  DB number
            w_bcc_value  Word   actual BCC value
            w_temp_val   Word   temporary value
            d_loop_akt   DWord  actual value of the loop counter
            d_loop       DWord  loop counter

  L     #LEN                        // load length                  
      L     2                           // decrement length by 2
      -I                                // last 2 bytes are reserved for BCC
      SLD   3                           // calculate bit offset
      T     #d_loop                     // save the last bit address

      L     #DB_NO                      // load DB number
      T     #w_db_no
      OPN   DB [#w_db_no]               // and open DBs

      L     0
      T     #d_loop_akt                 // initialize loop counter
      T     #w_bcc_value                // initialize the BCC

// loop for calculating the BCC for (LEN - 2) bytes
// abort if d_loop_akt = d_loop

LOOP: L     DBB [#d_loop_akt]           // load byte from DB
      L     #w_bcc_value                // load actual BCC
      XOW                               // EXOR
      T     #w_bcc_value                // and save

      L     8                           // increment the bit address by 8
      L     #d_loop_akt                 // to address the next byte
      +D    
      T     #d_loop_akt

      L     #d_loop
      <I    
      JC    LOOP

// load the actual BCC
// and compare with the last two bytes of the source DB
// example: #LEN      22
//           0..19     data bytes
//           20,21     BCC-HI, BCC-LO

      L     #w_bcc_value                // load BCC
      AW    W#16#F0                     //separate the most significant nibble
      SLW   4                           // shift the least significant nibble to the highbyte
      OW    W#16#3000                   // OR 30h to Highbyte to receive ASCII character
      T     #w_temp_val                 // and save temporary

      L     #w_bcc_value                // load BCC
      AW    W#16#F                      //separate the least significant nibble
      OW    W#16#30                     // OR 30h to Lowbyte to receive ASCII character
      L     #w_temp_val
      OW    

      L     DBW [#d_loop_akt]           // Load BCC from DB
      ==I                               // and compare
      L     0                           // value of RETVAL, if comparison ok
      JC    ENDE

      L     -1                          // value of RETVAL, if comparison not ok
ENDE: T     #RETVAL

      BE    

九九热精品在线视频观看| 国产精品一二区在线观看| 天天澡天天摸天天爽免费| 天天综合久久综合电影网| 国产精品高清精品久久久| 日本线一线二线三线视频| 大学生无套流白浆视频大| 九九热亚洲精品综合视频| √最新版天堂资源网在线| 被三个男人绑着躁我好爽| 青青草国产精品日韩欧美| 青草青青青青青青操死你| 大鸡巴插到底了| 综合久久997| 婷婷六月开心六月色六月| 色多多末满18禁止观看| 2021最新最全国产精品| 国产乱码一二三区别在哪| 露脸的国产极品在线观看| 精品女同av一区二区三区| 成人精品大片—懂色av| 在线可以免费观看的Av| 大鸡巴干大屁股骚妇视频| 亚洲av国产av综合av| 欧美亚洲大胆另类性色图| 老女人黄色性生活高清版| 女人被日到喷水在线观看| 岛国一级中文av亚洲精品| 国产国际精品福利色噜噜| 国产福利亚洲精品精彩在线| 黑人肉棒18岁日本美女| 女生日逼大鸡巴黄色网站| av大香蕉一区二区三区| 免费久碰视频| 国产成人精品男人女人高潮| AV成人电影男人的天堂| 欧美日韩 高清国产aⅴ| 插逼操穴奸无码| 自拍亚洲欧美精品第一页| 97精品国产aⅴ在线网站| 亚洲熟悉妇女xxx色哟哟|