hello quizlet
Home
Subjects
Expert solutions
Create
Study sets, textbooks, questions
Log in
Sign up
Upgrade to remove ads
Only $35.99/year
x86-64 Instructions to Control-Flow
Flashcards
Learn
Test
Match
Flashcards
Learn
Test
Match
Terms in this set (12)
CF 1
Condition Codes: CF is Carry Flag (for unsigned), SF is Sign Flag (for signed), ZF is Zero Flag, and OF is Overflow Flag (for signed)
CF 2
CF set if carry-out from MSB (unsigned overflow) is 1
CF 3
ZF set if t==0
CF 4
SF set if t<0 (as signed)
CF 5
OF set if two's complement (signed) overflow: MSB carry-in != MSB carry-out
CF 6
The condition codes are not implicitly set by the leaq instruction.
CF 7
You can explicitly set flags with the compare instructions cmpX, which can set all 4 flags
CF 8
cmpX b, a computes a-b and only sets the flags
CF 9
SF is set if (a-b)<0 (as signed) or if a < b
CF 10
testq b,a computes a&b and only sets ZF and SF
CF 11
testq can be useful for other things
CF 12
setX can be used to store a condition
Other sets by this creator
Syllabus
4 terms
x86-64 Assembler Directives, First Programs, Arith…
2 terms
Strings in C
13 terms
Assorted Topics in C
2 terms
Verified questions
calculus
Solve the differential equation. $$ \dfrac{d s}{d \alpha}=\sin ^2 \dfrac{\alpha}{2} \cos ^2 \dfrac{\alpha}{2} $$
calculus
Rationalize the numerator: $\frac{\sqrt{x}+\sqrt{y}}{\sqrt{x}-\sqrt{y}}$
calculus
Find the limits as $x$ tends to $+\infty$ and $-\infty$, and then proceed as in Exercises $3–6.$ (That is, find $f'$, etc.). $$ f(x) = xe^{-x} $$
algebra
Find the vertex, axis of symmetry, $x$-intercept, $y$-intercepts, focus, and directrix for the parabola. Sketch the graph, showing the focus and directrix. $$ x=y^2-2 $$
Other Quizlet sets
Performance Appraisals
29 terms
Exam # 1 cells
58 terms