•Group 1: EBX, ESI, EDI,
EBP
•Group 2: EAX, EDX, ECX
•
•//
func.c
•void
func()
•{
• // may use group 1 registers
• // saves
group 2 registers if uses values in them after // calling func2()
• func2();
•}
•
•//
func2.c
•void
func2()
•{
• // saves group 1 registers if it
uses them
• // freely uses group 2
registers
•}