diff options
| author | Andrew Chambers <[email protected]> | 2021-10-10 20:59:58 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-10 20:59:58 +1300 |
| commit | 455ad9e979015cde50cd1f89a028aa0dd165b8b3 (patch) | |
| tree | 68d024930b7c5068955530cb13493efba7637f56 /test | |
| parent | 6c881983cad0ac9b8896d41e2335f63c416325d4 (diff) | |
Add more directives and some simple opcodes.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index b3346e7..448a77c 100644 --- a/test/test.sh +++ b/test/test.sh @@ -30,6 +30,10 @@ t () { echo -n "." } +t "ret" +t "cltd" +t "cqto" + conditioncodes=" a ae b be c e z g ge l le na @@ -45,7 +49,6 @@ do t "set${cc} (%rax)" done - for op in sal sar shl shr do t "${op} \$3, %rax" @@ -95,7 +98,6 @@ t "popq (%r9)" t "popq %r9" t "popq %rax" - t "movb \$127, (%rsp)" t "movb \$127, (%rbp)" t "movb \$127, 2147483647(%rsp)" |
