From 78aa469080b95f41fabc0f428bd4e5b1bbdaa04b Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Wed, 6 Oct 2021 15:47:16 +1300 Subject: Work on test cases. --- test/test.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') 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" -- cgit v1.2.3