** Answer to the question: What does the ''real'' ligne looks like in terms of how the Floating Point format covers it?
** Answer to the question: What does the ''real'' ligne looks like in terms of how the Floating Point format covers it?
** [[CSC231 Unexpected Floating-Point Results | Examples of Floating Point programs that generate unexpected results]]
** [[CSC231 Unexpected Floating-Point Results | Examples of Floating Point programs that generate unexpected results]]
−
+
** The architecture of the FPU: A stack of 8 80-bit registers: st0, st1, ... st7.
+
** [[CSC231_An_Introduction_to_Fixed-_and_Floating-Point_Numbers#Programming_with_Floating-Point_Numbers_in_Assembly| Examples of assembly programs using the FPU]]
+
** How the FPU performs an addition of two floating point numbers
----
----
* Take-Home <font color="orange">'''[[CSC231 Final Exam 2012|Final Exam]]''', open books & computers</font>
* Take-Home <font color="orange">'''[[CSC231 Final Exam 2012|Final Exam]]''', open books & computers</font>
Review the actions of passing parameters through registers. The concept of functions returning values is directly implementable using registers (in most cases).
Using EBP to pass more than 4/6 dword parameters:
int main() {
int a=3, b=5, res;
res = sum( a, b );
...
}
int sum( int x, int y ) {
return x+y;
}
Wednesday
review passing of value parameters through the stack