writeProcComments is now member of Function, at it has an ostream based overload, also added gmock framework to dependencies
This commit is contained in:
23
tests/prev_base/INTOPS.b
Normal file
23
tests/prev_base/INTOPS.b
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Input file : ./tests/inputs/INTOPS.EXE
|
||||
* File type : EXE
|
||||
*/
|
||||
|
||||
#include "dcc.h"
|
||||
|
||||
|
||||
void main ()
|
||||
/* Takes no parameters.
|
||||
* High-level language prologue code.
|
||||
*/
|
||||
{
|
||||
int loc1;
|
||||
int loc2;
|
||||
loc1 = 255;
|
||||
loc2 = (loc1 + 143);
|
||||
loc1 = (loc1 - loc2);
|
||||
loc1 = (loc1 * loc2);
|
||||
loc1 = (loc1 << 5);
|
||||
printf ("a = %d, b = %d\n", loc1, (((loc2 / loc1) % loc1) >> loc1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user