Ep 083: Introduction to the Flags Register

Ep 083: Introduction to the Flags Register

Intermation

3 года назад

13,888 Просмотров

Like the warning lights on a car's dashboard, the processor has a set of Boolean "flags" used to identify the configuration, status, and computational results of the processor at a glance. This video describes the flags used to determine the characteristics of the last operation including the sign of the result, if the result equaled zero, any carries or overflows that occurred, and the result's parity.

Take aways: At the completion of this lesson, each student should be able to:
• define what a flag register or program status word is and
• explain the purpose of the zero, the sign, the overflow, the carry, the half carry, and the parity flags.

Episodes referenced:
Ep 007: Packed Binary Coded Decimal (BCD) (https://youtu.be/j8_aVNToV2g)
Ep 012: Addition and Subtraction in Binary (https://youtu.be/YyxlNN8l0zw)
Ep 013: Basics of Complement Notation (https://youtu.be/PIhe-jFKVyQ)
Ep 015: Overflow in Binary Integer Addition (https://youtu.be/pwrNX1euThA)
Ep 046: Introduction to Bitwise Operations and the Bitwise Inverse (https://youtu.be/YJgnYQEhYBw)
Ep 047: Clearing Bits using the Bitwise-AND (https://youtu.be/o_33wfgN0PY)
Ep 048: Setting Bits using the Bitwise-OR (https://youtu.be/Xhy3RdWIgpI)
Ep 049: Flipping Bits using the Bitwise-XOR (https://youtu.be/hkhtfz2aHcg)
Ep 050: Using Parity for Simple Error Detection (https://youtu.be/6A11qbSTEbk)

#cpuflags #flags #registers

Тэги:

#zero #sign #carry #half #parity #overflow #flags #register #bcd
Ссылки и html тэги не поддерживаются


Комментарии: