mips/test/masm/segv.asm

17 lines
171 B
NASM
Raw Permalink Normal View History

2024-09-30 22:50:22 +00:00
# Copyright (c) 2024 Freya Murphy
# file: div.asm
# test: should cause page fault
.text
.align 2
.globl main
main:
lw $t0, 0($zero)
# return
li $v0, 0
jr $ra
nop