当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Two of the bits in the FLAGS reg
 

 

 ·comparisions    »显示摘要«
    摘要:instruction: cmp comparing by subtraction for unsigned numbers: 2 bits in the flags register zf cf = 1 0 > 0 0 < 0 1 for signed numbers: 3 bits in the flags register zf of sf = 1 0 0 ......
    摘要: 软件项目开发到了后期,特别是系统架构基本稳定,如果客户提出新的需求,往往会给项目带来较大的风险。在客户眼里也许只是一微不足道的小小要求却给系统带了很严重的影响(有可能是系统设计的问题,但这个时候也顾不上考虑这些了)。为了使项目按时上线,需要对客户的新增需要分析对比,提取那些必须修改无法回避的问题,下面谈谈一点小小的看法:对于系统中必须要有的功能,就算很特别,做起来费劲也得修改满足,否则客户那......


Overflow flag & Carry flag

two of the bits in the flags register that add and sub instructions set are overflow and carry flag:

【程序编程相关:[系列第3篇]《顿悟:SW该怎么做》

overflow flag: 【推荐阅读:JAVA代码编写的30条建议

carry flag: 【扩展信息:[系列第4篇]《共享软件之勇士义旅》

  set for signed arithmetic when the ture result is too big to fit into the destination.

  if there is a carry in the msb of an addition or a borrow in the msb of a subtraction, the carry flag is set. thus, it can be used to detect overflow for unsigned arithmetic.


 ·服务器被入侵后的处理    »显示摘要«
    摘要:时间:中午13:30 接到实验室电话,说网站信息发布系统(旧版)用户无法登陆,察看数据库后发现所有用户名和密码均被改为 admin ,未发现其它改动。 经过分析,数据库被非法修改。因为用户名被设为主键,正常情况下不会重复。 时间:下午15:30 到实验室察看服务器。服务器系统为 win2003 + iis6.0,系统是asp编写的,数据库为 sql-server 2000。用备份恢复......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE