View Single Post
  #1  
Old 03-23-2011, 01:08 PM
webdev webdev is offline
Senior Member
 
Join Date: Jun 2009
Posts: 7,868
Default Assembler swap 2 integer values

Preconditions: Addresses of 2 integer variables are on the stack as the parameters. Sample c call: swap( &num1, &num2); You must implement the following C swap function: /* Swaps the two values pointed to by x_ptr and y_ptr. */
__________________
Website Development
Domain Name Forum
Reply With Quote