From 455ad9e979015cde50cd1f89a028aa0dd165b8b3 Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Sun, 10 Oct 2021 20:59:58 +1300 Subject: Add more directives and some simple opcodes. --- test/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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)" -- cgit v1.2.3