aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-10 20:59:58 +1300
committerAndrew Chambers <[email protected]>2021-10-10 20:59:58 +1300
commit455ad9e979015cde50cd1f89a028aa0dd165b8b3 (patch)
tree68d024930b7c5068955530cb13493efba7637f56 /test
parent6c881983cad0ac9b8896d41e2335f63c416325d4 (diff)
Add more directives and some simple opcodes.
Diffstat (limited to 'test')
-rw-r--r--test/test.sh6
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)"