diff options
| author | Andrew Chambers <[email protected]> | 2021-10-09 23:45:16 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-09 23:45:16 +1300 |
| commit | 5ccab989e58d0bb2d643dfaec51dbea0734ce05f (patch) | |
| tree | 3420b6192145b819c9832c50787b94eab856368b /test/test.sh | |
| parent | a3edd52b53b236a2b88049e634981e8dc7b0bc4d (diff) | |
Add div/idiv.
Diffstat (limited to 'test/test.sh')
| -rw-r--r-- | test/test.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index cf5660b..05d40bf 100644 --- a/test/test.sh +++ b/test/test.sh @@ -30,6 +30,13 @@ t () { echo -n "." } +t "div %rax" +t "divq (%rax)" +t "divq (%rip)" +t "idiv %rax" +t "idivq (%rax)" +t "idivq (%rip)" + t "pushq (%r9)" t "pushq %r9" t "pushq %rax" |
