summaryrefslogtreecommitdiff
path: root/test/masm/fault.asm
blob: df700cf3bba6d509496c0588cc54708a611d1d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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