Assembly Math Flashcards

1
Q

CTC

A

clear carry flag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

STC

A

set carry flag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CMC

A

flip carry flag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

ADC

A

Adds two values and adds 1 if carry flag is set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

SBB

A

Subtracts two values and subtracts an additional one if carry flag if carry flag is set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

OF and CF

A

Both set to 1 if upper half of a multiplication is non-zero. For example, if AL is multiplied by an 8-bit number and the result extends up into AH, both flags set. If EAX is multiplied by a 32 bit number and extends into EDX for overflow, both bits are set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly