[nolimips: 116] Test illegal access to memory.

Index: ChangeLog from Benoît Perrot <benoit@lrde.epita.fr> * tests/runtime/address-load.s, tests/runtime/address-store.s: Test illegal access to memory. * tests/runtime/Makefile.am: Distribute them. 2004-07-15 Benoît Perrot <benoit@lrde.epita.fr> Index: tests/runtime/address-store.s --- tests/runtime/address-store.s (revision 0) +++ tests/runtime/address-store.s (revision 0) @@ -0,0 +1,7 @@ + .text +main: + move $t0, $zero + sw $t1, ($t0) + li $a0, 10 + li $a1, 1 + syscall \ No newline at end of file Index: tests/runtime/address-load.s --- tests/runtime/address-load.s (revision 0) +++ tests/runtime/address-load.s (revision 0) @@ -0,0 +1,7 @@ + .text +main: + move $t0, $zero + lw $t1, ($t0) + li $a0, 10 + li $a1, 1 + syscall \ No newline at end of file Index: tests/runtime/Makefile.am --- tests/runtime/Makefile.am (revision 109) +++ tests/runtime/Makefile.am (working copy) @@ -2,7 +2,9 @@ ASM_FILES = \ neg.s \ no-main.s \ - uninitialized-x.s + uninitialized-x.s \ + address-store.s \ + address-load.s dist_noinst_DATA = $(ASM_FILES)

"Benoît" == Benoît Perrot <benoit@lrde.epita.fr> writes:
Index: ChangeLog from Benoît Perrot <benoit@lrde.epita.fr>
* tests/runtime/address-load.s, tests/runtime/address-store.s: Test illegal access to memory.
RMS recommends invalid here, and keep illegal for "against the (real world's) law".
participants (2)
-
Akim Demaille
-
Noe