diff options
author | Freya Murphy <freya@freyacat.org> | 2024-10-01 18:22:10 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-10-01 18:22:10 -0400 |
commit | 091c684bf1d2cca09da001b9170b205dbe5c333f (patch) | |
tree | e7dd5091ddb989b1eae35f8a5130a66b2d7b4d9b /test/masm/div.asm | |
parent | dont hardcode RA in JALR (diff) | |
download | mips-091c684bf1d2cca09da001b9170b205dbe5c333f.tar.gz mips-091c684bf1d2cca09da001b9170b205dbe5c333f.tar.bz2 mips-091c684bf1d2cca09da001b9170b205dbe5c333f.zip |
add recursion test, add noops for branch delay slots
Diffstat (limited to 'test/masm/div.asm')
-rw-r--r-- | test/masm/div.asm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/masm/div.asm b/test/masm/div.asm deleted file mode 100644 index b9b4f3f..0000000 --- a/test/masm/div.asm +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright (c) 2024 Freya Murphy - -# file: div.asm -# test: should cause floting point exception - -.text -.align 2 -.globl main - -main: - # divide by zero - li $t0, 0 - div $t0, $t0, $t0 - - # return - li $v0, 0 - jr $ra |