diff options
Diffstat (limited to 'CSAPP/leaq.c')
| -rw-r--r-- | CSAPP/leaq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CSAPP/leaq.c b/CSAPP/leaq.c new file mode 100644 index 0000000..fe15ebc --- /dev/null +++ b/CSAPP/leaq.c @@ -0,0 +1,4 @@ +long scale(long x, long y, long z) { + long t = x + 4*y + 12*z; + return t; +} |
