aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-09 03:59:03 +1300
committerAndrew Chambers <[email protected]>2021-10-09 03:59:03 +1300
commit8c0f425c60720ad364dea03722df2bba2b863405 (patch)
tree5b6c824646fcaead4a683a52a47c2cb8970bc443 /test
parentbefbbba725873cd801e9f78bf4852d90bc272bfd (diff)
Handle more types of addressing.
Diffstat (limited to 'test')
-rw-r--r--test/test.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 3fb4cc5..e8293a7 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -30,6 +30,11 @@ t () {
echo -n "."
}
+t "movb \$127, (%rsp)"
+t "movb \$127, (%rbp)"
+t "movb \$127, 2147483647(%rsp)"
+t "movb \$127, 2147483647(%rbp)"
+
for r in a b
do
t "xchg %${r}l, %${r}l"