# ICS EXE 1

ICS EXE 1 self-checking tools by LN. `hcl2c` is from CSAPP arch lab.

You can fill your answer in the blank of `tst1.hcl` and `tst2.hcl` and typing

```
$ make
Making hcl2c tool ...Done
Making tst1 ...Done
Making tst2 ...Done
```
to generate the simulator for tst1 and tst2.

## TST 1

For tst1, you can validate your answer by typing

```
$ ./tst1 4 5 6
Out = 5
```

## TST 2

For tst2, you can validate your answer by typing
```
$ ./tst2 0 1 1
S = 1
Sum = 0
Cout = 1
```

