exception_mem.asm
1 # Data adress space: 2 # 0x0 - one 3 # 0x4 - two 4 li x1, 1 5 sw x1, 0(x0) 6 li x2, 2 7 sw x2, 4(x0) 8 .4byte 0 /* should be unimp, but it would test nothing since unimp is system and stalls the fetcher >:( */ 9 sw x1, 4(x0) /* TODO: actually check the side fx */ 10 li x2, 9 11 12 .section .bss 13 .skip 0x8