官术网_书友最值得收藏!

Bit #0 - carry flag

The carry flag (CF) is mostly used for the detection of carry/borrow in arithmetic operations and is set if the bit width result of the last such operation (such as addition and subtraction) exceeds the width of the ALU. For example, the addition of two 8-bit values, 255 and 1, would result in 256, which requires at least nine bits to be stored. In such a case, bit eight (the ninth bit) is placed into the CF, thus, letting us and the processor know that the last operation ended with carry.

主站蜘蛛池模板: 柘城县| 唐海县| 宝兴县| 法库县| 绥滨县| 建平县| 道真| 吉木乃县| 大邑县| 南丰县| 阿合奇县| 炉霍县| 德州市| 五常市| 澄城县| 师宗县| 郴州市| 库尔勒市| 思南县| 禹城市| 紫金县| 涟水县| 万盛区| 交城县| 赤壁市| 永城市| 施甸县| 云龙县| 中阳县| 中西区| 睢宁县| 临桂县| 诸城市| 中江县| 土默特右旗| 沁水县| 无极县| 明溪县| 舟曲县| 桦甸市| 潜江市|