Lab 3/uno32tests/u32helpers.c
void display_debug( volatile int * const addr )
{
  display_string( 1, "Addr" );
  display_string( 2, "Data" );
  num32asc( &textbuffer[1][6], (int) addr, 4 );
  num32asc( &textbuffer[2][6], *addr, 4 );
  display_update();
}
/* display_debug
   A function to help debugging.

   After calling display_debug,
   the two middle lines of the display show
   an address and its current contents.

   There's one parameter: the address to read and display.

   Note: When you use this function, you should comment out any
   repeated calls to display_image; display_image overwrites
   about half of the digits shown by display_debug.
*/
display_debug
A function to help debugging.

After calling display_debug,
the two middle lines of the display show
an address and its current contents.

There's one parameter: the address to read and display.

When you use this function, you should comment out any
repeated calls to display_image; display_image overwrites
about half of the digits shown by display_debug.
display_debug A function to help debugging . After calling display_debug the two middle lines of the display show an address and its current contents . There ' s one parameter : the address to read and display . When you use this function you should comment out any repeated calls to display_image ; display_image overwrites about half of the digits shown by display_debug .
void display_debug( volatile int * const addr )
{
  display_string( 1, "Addr" );
  display_string( 2, "Data" );
  num32asc( &textbuffer[1][6], (int) addr, 4 );
  num32asc( &textbuffer[2][6], *addr, 4 );
  display_update();
}
void display_debug ( volatile int * const addr ) { display_string ( 1 , " " ) ; display_string ( 2 , " " ) ; num32asc ( & textbuffer [ 1 ] [ 6 ] , ( int ) addr , 4 ) ; num32asc ( & textbuffer [ 2 ] [ 6 ] , * addr , 4 ) ; display_update ( ) ; }
display_debug
A function to help debugging.
display_debug A function to help debugging .