No video

Ep 084: Example Operation of the CPU Flag Register

  Рет қаралды 4,701

Intermation

Intermation

Күн бұрын

To better understand the use of the CPU flags, it might help to see some examples of their use. In this episode, learn how the flags are set after a simple integer addition and how the zero and sign flags support conditional execution of our code.
Take aways: At the completion of this lesson, each student should be able to:
• determine the settings of the zero, the sign, the overflow, the carry, the half carry, and the parity flags based on the results of an integer addition and
• show how the zero flag and the sign flag can be used to control program flow.
Episodes referenced:
Ep 007: Packed Binary Coded Decimal (BCD) ( • Ep 007: Packed Binary ... )
Ep 012: Addition and Subtraction in Binary ( • Ep 012: Addition and S... )
Ep 013: Basics of Complement Notation ( • Ep 013: Basics of Comp... )
Ep 015: Overflow in Binary Integer Addition ( • Ep 015: Overflow in Bi... )
Ep 050: Using Parity for Simple Error Detection ( • Ep 050: Using Parity f... )
#cpu #flags #regsiter

Пікірлер: 2
@yousefali995
@yousefali995 2 жыл бұрын
After a long time of thinking how you could write on the glass without making the letters and numbers appears inversed I figured out you just mirror the video. Brilliant!
@yoshiyusof853
@yoshiyusof853 3 жыл бұрын
Really, I love this channel so much.. me as a electronic student, really recommend this channel to understand on what we study.. it's quite easy to understand.. keep it up sir, I appreciate it.
Ep 083: Introduction to the Flags Register
14:02
Intermation
Рет қаралды 14 М.
Ep 079: Basic CPU Architecture and Instruction Execution
20:17
Intermation
Рет қаралды 11 М.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 1,6 МЛН
what will you choose? #tiktok
00:14
Анастасия Тарасова
Рет қаралды 3,5 МЛН
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10
Ep 089: How to Set Up an Interrupt
25:35
Intermation
Рет қаралды 4,9 М.
Binary Addition and Flags
9:35
John Philip Jones
Рет қаралды 2,7 М.
Ep 087: Using Polled I/O with a Memory Mapped Device
19:56
Intermation
Рет қаралды 4,2 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Ep 088: Introduction to Interrupts
14:30
Intermation
Рет қаралды 7 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
What happens if you connect Windows XP to the Internet in 2024?
20:35
Floating Point Numbers - Computerphile
9:16
Computerphile
Рет қаралды 2,3 МЛН
The Fetch-Execute Cycle: What's Your Computer Actually Doing?
9:04
Tom Scott
Рет қаралды 1,8 МЛН