diff options
| author | Andrew Chambers <[email protected]> | 2021-10-06 15:47:16 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-06 15:47:16 +1300 |
| commit | 78aa469080b95f41fabc0f428bd4e5b1bbdaa04b (patch) | |
| tree | 1f3106700fe34d7a37d204de1e0709f96b2e70ce /test | |
| parent | 74c62bb66fe28bf5fca78809eaf9d1bf852ad524 (diff) | |
Work on test cases.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index b261afa..be5a91f 100644 --- a/test/test.sh +++ b/test/test.sh @@ -25,6 +25,13 @@ t () { echo -n "." } +# TODO Tidy and be more systematic, we could just loop +t "movq %rax, %rax" +t "movq (%rax), %rax" +t "movq %rax, (%rax)" +t "movl %eax, %eax" +t "movl (%rax), %eax" +t "movl %eax, (%rax)" t "leaq (%rax), %rax" t "leal (%rax), %eax" t "addq (%rax), %rax" |
