diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-03-13 20:25:54 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-03-13 20:25:54 +0100 |
commit | 1a50dcf42beb8b2d23ba4698ac3fd21bfe82cd2f (patch) | |
tree | 26c1b3d458c2cff192b7d6f7abba3d6fd65c1d9b /ecomp-c/test1.e | |
parent | 6d0f6ecda277bea24907820a873fb65e88b2d20d (diff) | |
download | compilertests-1a50dcf42beb8b2d23ba4698ac3fd21bfe82cd2f.tar.gz compilertests-1a50dcf42beb8b2d23ba4698ac3fd21bfe82cd2f.tar.bz2 |
fixed freestanding malloc/free: added 16-bit alignment and handling the one last block case
Diffstat (limited to 'ecomp-c/test1.e')
-rw-r--r-- | ecomp-c/test1.e | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-c/test1.e b/ecomp-c/test1.e index 35ae6de..cc4f336 100644 --- a/ecomp-c/test1.e +++ b/ecomp-c/test1.e @@ -25,5 +25,5 @@ begin a := a + 1; // a should be 8 now d := a * c + b; // d should be 8 * 20 + 7 = 167 (A7 hex) d := a * ( c + b ); // d should be 8 * ( 20 + 7 ) = 216 (D8 hex) - e := ( ( 7 * a + b ) + 2 * ( b + a + 3 ) ) * 4 / 2; // ((7*8+7)+2*(7+8+3))*2=198 (C6 hex) + e := ( ( 7 * a + b ) + 2 * ( b + a + 3 ) ) * 4 / 2; // ((7*8+7)+2*(7+8+3))*4/2=198 (C6 hex) end |