diff --git a/src/test/cpp/raw/pmp/build/pmp.asm b/src/test/cpp/raw/pmp/build/pmp.asm index 34ddcbf..f8a30e2 100644 --- a/src/test/cpp/raw/pmp/build/pmp.asm +++ b/src/test/cpp/raw/pmp/build/pmp.asm @@ -22,21 +22,21 @@ Disassembly of section .crt_section: 80000024 : 80000024: 00000e13 li t3,0 80000028: 00000f17 auipc t5,0x0 -8000002c: 340f0f13 addi t5,t5,832 # 80000368 +8000002c: 324f0f13 addi t5,t5,804 # 8000034c 80000030: 800000b7 lui ra,0x80000 80000034: 80008237 lui tp,0x80008 80000038: deadc137 lui sp,0xdeadc -8000003c: eef10113 addi sp,sp,-273 # deadbeef -80000040: 0020a023 sw sp,0(ra) # 80000000 -80000044: 00222023 sw sp,0(tp) # 80008000 +8000003c: eef10113 addi sp,sp,-273 # deadbeef +80000040: 0020a023 sw sp,0(ra) # 80000000 +80000044: 00222023 sw sp,0(tp) # 80008000 80000048: 0000a183 lw gp,0(ra) -8000004c: 30311e63 bne sp,gp,80000368 +8000004c: 30311063 bne sp,gp,8000034c 80000050: 00022183 lw gp,0(tp) # 0 <_start-0x80000000> -80000054: 30311a63 bne sp,gp,80000368 +80000054: 2e311c63 bne sp,gp,8000034c 80000058: 071a02b7 lui t0,0x71a0 8000005c: 3a029073 csrw pmpcfg0,t0 80000060: 3a002373 csrr t1,pmpcfg0 -80000064: 30629263 bne t0,t1,80000368 +80000064: 2e629463 bne t0,t1,8000034c 80000068: 1a1902b7 lui t0,0x1a190 8000006c: 30428293 addi t0,t0,772 # 1a190304 <_start-0x65e6fcfc> 80000070: 3a129073 csrw pmpcfg1,t0 @@ -44,14 +44,14 @@ Disassembly of section .crt_section: 80000078: 90a28293 addi t0,t0,-1782 # f090a <_start-0x7ff0f6f6> 8000007c: 3a229073 csrw pmpcfg2,t0 80000080: 3a202373 csrr t1,pmpcfg2 -80000084: 2e629263 bne t0,t1,80000368 +80000084: 2c629463 bne t0,t1,8000034c 80000088: 1c1e22b7 lui t0,0x1c1e2 8000008c: 90028293 addi t0,t0,-1792 # 1c1e1900 <_start-0x63e1e700> 80000090: 3a329073 csrw pmpcfg3,t0 80000094: 200002b7 lui t0,0x20000 80000098: 3b029073 csrw pmpaddr0,t0 8000009c: 3b002373 csrr t1,pmpaddr0 -800000a0: 2c629463 bne t0,t1,80000368 +800000a0: 2a629663 bne t0,t1,8000034c 800000a4: fff00293 li t0,-1 800000a8: 3b129073 csrw pmpaddr1,t0 800000ac: 202002b7 lui t0,0x20200 @@ -92,89 +92,89 @@ Disassembly of section .crt_section: 80000138: 0020a023 sw sp,0(ra) 8000013c: 00222023 sw sp,0(tp) # 0 <_start-0x80000000> 80000140: 0000a183 lw gp,0(ra) -80000144: 22311263 bne sp,gp,80000368 +80000144: 20311463 bne sp,gp,8000034c 80000148: 00000193 li gp,0 8000014c: 00022183 lw gp,0(tp) # 0 <_start-0x80000000> -80000150: 20311c63 bne sp,gp,80000368 +80000150: 1e311e63 bne sp,gp,8000034c 80000154 : 80000154: 00100e13 li t3,1 80000158: 00000f17 auipc t5,0x0 -8000015c: 210f0f13 addi t5,t5,528 # 80000368 +8000015c: 1f4f0f13 addi t5,t5,500 # 8000034c 80000160: 079a12b7 lui t0,0x79a1 80000164: 80828293 addi t0,t0,-2040 # 79a0808 <_start-0x7865f7f8> 80000168: 3a029073 csrw pmpcfg0,t0 8000016c: 3a002373 csrr t1,pmpcfg0 -80000170: 1e629c63 bne t0,t1,80000368 +80000170: 1c629e63 bne t0,t1,8000034c 80000174: 808000b7 lui ra,0x80800 80000178: deadc137 lui sp,0xdeadc -8000017c: eef10113 addi sp,sp,-273 # deadbeef -80000180: 0020a023 sw sp,0(ra) # 80800000 +8000017c: eef10113 addi sp,sp,-273 # deadbeef +80000180: 0020a023 sw sp,0(ra) # 80800000 80000184: 00000f17 auipc t5,0x0 80000188: 010f0f13 addi t5,t5,16 # 80000194 8000018c: 0000a183 lw gp,0(ra) -80000190: 1d80006f j 80000368 +80000190: 1bc0006f j 8000034c 80000194 : 80000194: 00200e13 li t3,2 80000198: 00000f17 auipc t5,0x0 -8000019c: 1d0f0f13 addi t5,t5,464 # 80000368 +8000019c: 1b4f0f13 addi t5,t5,436 # 8000034c 800001a0: 071a02b7 lui t0,0x71a0 800001a4: 3a029073 csrw pmpcfg0,t0 800001a8: 3a002373 csrr t1,pmpcfg0 -800001ac: 1a628e63 beq t0,t1,80000368 +800001ac: 1a628063 beq t0,t1,8000034c 800001b0: 3b305073 csrwi pmpaddr3,0 800001b4: 3b302373 csrr t1,pmpaddr3 -800001b8: 1a031863 bnez t1,80000368 +800001b8: 18031a63 bnez t1,8000034c 800001bc: 3b205073 csrwi pmpaddr2,0 800001c0: 3b202373 csrr t1,pmpaddr2 -800001c4: 1a030263 beqz t1,80000368 +800001c4: 18030463 beqz t1,8000034c 800001c8: 808000b7 lui ra,0x80800 800001cc: deadc137 lui sp,0xdeadc -800001d0: eef10113 addi sp,sp,-273 # deadbeef -800001d4: 0020a023 sw sp,0(ra) # 80800000 +800001d0: eef10113 addi sp,sp,-273 # deadbeef +800001d4: 0020a023 sw sp,0(ra) # 80800000 800001d8: 00000f17 auipc t5,0x0 800001dc: 010f0f13 addi t5,t5,16 # 800001e8 800001e0: 0000a183 lw gp,0(ra) -800001e4: 1840006f j 80000368 +800001e4: 1680006f j 8000034c 800001e8 : 800001e8: 00300e13 li t3,3 800001ec: 00000f17 auipc t5,0x0 -800001f0: 17cf0f13 addi t5,t5,380 # 80000368 +800001f0: 160f0f13 addi t5,t5,352 # 8000034c 800001f4: 00ff02b7 lui t0,0xff0 800001f8: 3b32a073 csrs pmpaddr3,t0 800001fc: 3b302373 csrr t1,pmpaddr3 -80000200: 16629463 bne t0,t1,80000368 +80000200: 14629663 bne t0,t1,8000034c 80000204: 0ff00293 li t0,255 80000208: 3b32a073 csrs pmpaddr3,t0 8000020c: 3b302373 csrr t1,pmpaddr3 80000210: 00ff02b7 lui t0,0xff0 80000214: 0ff28293 addi t0,t0,255 # ff00ff <_start-0x7f00ff01> -80000218: 14629863 bne t0,t1,80000368 +80000218: 12629a63 bne t0,t1,8000034c 8000021c: 00ff02b7 lui t0,0xff0 80000220: 3b32b073 csrc pmpaddr3,t0 80000224: 3b302373 csrr t1,pmpaddr3 80000228: 0ff00293 li t0,255 -8000022c: 12629e63 bne t0,t1,80000368 +8000022c: 12629063 bne t0,t1,8000034c 80000230: 00ff02b7 lui t0,0xff0 80000234: 0ff28293 addi t0,t0,255 # ff00ff <_start-0x7f00ff01> 80000238: 3a02b073 csrc pmpcfg0,t0 8000023c: 3a002373 csrr t1,pmpcfg0 80000240: 079a02b7 lui t0,0x79a0 -80000244: 12629263 bne t0,t1,80000368 +80000244: 10629463 bne t0,t1,8000034c 80000248: 00ff02b7 lui t0,0xff0 8000024c: 70728293 addi t0,t0,1799 # ff0707 <_start-0x7f00f8f9> 80000250: 3a02a073 csrs pmpcfg0,t0 80000254: 3a002373 csrr t1,pmpcfg0 80000258: 079a02b7 lui t0,0x79a0 8000025c: 70728293 addi t0,t0,1799 # 79a0707 <_start-0x7865f8f9> -80000260: 10629463 bne t0,t1,80000368 +80000260: 0e629663 bne t0,t1,8000034c 80000264 : 80000264: 00400e13 li t3,4 80000268: 00000f17 auipc t5,0x0 -8000026c: 100f0f13 addi t5,t5,256 # 80000368 +8000026c: 0e4f0f13 addi t5,t5,228 # 8000034c 80000270: 00000117 auipc sp,0x0 80000274: 01010113 addi sp,sp,16 # 80000280 80000278: 34111073 csrw mepc,sp @@ -183,83 +183,76 @@ Disassembly of section .crt_section: 80000280 : 80000280: 00500e13 li t3,5 80000284: 00000f17 auipc t5,0x0 -80000288: 0e4f0f13 addi t5,t5,228 # 80000368 +80000288: 0c8f0f13 addi t5,t5,200 # 8000034c 8000028c: deadc137 lui sp,0xdeadc -80000290: eef10113 addi sp,sp,-273 # deadbeef +80000290: eef10113 addi sp,sp,-273 # deadbeef 80000294: 808000b7 lui ra,0x80800 -80000298: 0020a023 sw sp,0(ra) # 80800000 +80000298: 0020a023 sw sp,0(ra) # 80800000 8000029c: 00000f17 auipc t5,0x0 800002a0: 010f0f13 addi t5,t5,16 # 800002ac 800002a4: 0000a183 lw gp,0(ra) -800002a8: 0c00006f j 80000368 +800002a8: 0a40006f j 8000034c 800002ac : 800002ac: 00600e13 li t3,6 -800002b0: 00000f17 auipc t5,0x0 -800002b4: 0b8f0f13 addi t5,t5,184 # 80000368 -800002b8: deadc137 lui sp,0xdeadc -800002bc: eef10113 addi sp,sp,-273 # deadbeef -800002c0: 880000b7 lui ra,0x88000 -800002c4: 0020a023 sw sp,0(ra) # 88000000 -800002c8: 0000a183 lw gp,0(ra) -800002cc : -800002cc: 00700e13 li t3,7 -800002d0: 00000f17 auipc t5,0x0 -800002d4: 098f0f13 addi t5,t5,152 # 80000368 -800002d8: 890000b7 lui ra,0x89000 -800002dc: ff008093 addi ra,ra,-16 # 88fffff0 -800002e0: 0000a183 lw gp,0(ra) -800002e4: 00000f17 auipc t5,0x0 -800002e8: 010f0f13 addi t5,t5,16 # 800002f4 -800002ec: 0030a023 sw gp,0(ra) -800002f0: 0780006f j 80000368 +800002b0 : +800002b0: 00700e13 li t3,7 +800002b4: 00000f17 auipc t5,0x0 +800002b8: 098f0f13 addi t5,t5,152 # 8000034c +800002bc: 890000b7 lui ra,0x89000 +800002c0: ff008093 addi ra,ra,-16 # 88fffff0 +800002c4: 0000a183 lw gp,0(ra) +800002c8: 00000f17 auipc t5,0x0 +800002cc: 010f0f13 addi t5,t5,16 # 800002d8 +800002d0: 0030a023 sw gp,0(ra) +800002d4: 0780006f j 8000034c -800002f4 : -800002f4: 00800e13 li t3,8 -800002f8: 00000f17 auipc t5,0x0 -800002fc: 014f0f13 addi t5,t5,20 # 8000030c -80000300: 00100493 li s1,1 -80000304: 3a305073 csrwi pmpcfg3,0 -80000308: 0600006f j 80000368 +800002d8 : +800002d8: 00800e13 li t3,8 +800002dc: 00000f17 auipc t5,0x0 +800002e0: 014f0f13 addi t5,t5,20 # 800002f0 +800002e4: 00100493 li s1,1 +800002e8: 3a305073 csrwi pmpcfg3,0 +800002ec: 0600006f j 8000034c -8000030c : -8000030c: 00800e13 li t3,8 -80000310: 1c1e22b7 lui t0,0x1c1e2 -80000314: 90028293 addi t0,t0,-1792 # 1c1e1900 <_start-0x63e1e700> -80000318: 3a302373 csrr t1,pmpcfg3 -8000031c: 04629663 bne t0,t1,80000368 +800002f0 : +800002f0: 00800e13 li t3,8 +800002f4: 1c1e22b7 lui t0,0x1c1e2 +800002f8: 90028293 addi t0,t0,-1792 # 1c1e1900 <_start-0x63e1e700> +800002fc: 3a302373 csrr t1,pmpcfg3 +80000300: 04629663 bne t0,t1,8000034c -80000320 : -80000320: 00900e13 li t3,9 -80000324: 00000f17 auipc t5,0x0 -80000328: 044f0f13 addi t5,t5,68 # 80000368 -8000032c: 00000493 li s1,0 -80000330: 00000117 auipc sp,0x0 -80000334: 01010113 addi sp,sp,16 # 80000340 -80000338: 34111073 csrw mepc,sp -8000033c: 30200073 mret +80000304 : +80000304: 00900e13 li t3,9 +80000308: 00000f17 auipc t5,0x0 +8000030c: 044f0f13 addi t5,t5,68 # 8000034c +80000310: 00000493 li s1,0 +80000314: 00000117 auipc sp,0x0 +80000318: 01010113 addi sp,sp,16 # 80000324 +8000031c: 34111073 csrw mepc,sp +80000320: 30200073 mret -80000340 : -80000340: 00900e13 li t3,9 -80000344: 00000f17 auipc t5,0x0 -80000348: 014f0f13 addi t5,t5,20 # 80000358 -8000034c: 00100493 li s1,1 -80000350: 3ba05073 csrwi pmpaddr10,0 -80000354: 0140006f j 80000368 +80000324 : +80000324: 00900e13 li t3,9 +80000328: 00000f17 auipc t5,0x0 +8000032c: 014f0f13 addi t5,t5,20 # 8000033c +80000330: 00100493 li s1,1 +80000334: 3ba05073 csrwi pmpaddr10,0 +80000338: 0140006f j 8000034c -80000358 : -80000358: 00900e13 li t3,9 -8000035c: fff00293 li t0,-1 -80000360: 3ba02373 csrr t1,pmpaddr10 -80000364: 00628863 beq t0,t1,80000374 +8000033c : +8000033c: 00900e13 li t3,9 +80000340: fff00293 li t0,-1 +80000344: 3ba02373 csrr t1,pmpaddr10 +80000348: 00628863 beq t0,t1,80000358 -80000368 : -80000368: f0100137 lui sp,0xf0100 -8000036c: f2410113 addi sp,sp,-220 # f00fff24 -80000370: 01c12023 sw t3,0(sp) +8000034c : +8000034c: f0100137 lui sp,0xf0100 +80000350: f2410113 addi sp,sp,-220 # f00fff24 +80000354: 01c12023 sw t3,0(sp) -80000374 : -80000374: f0100137 lui sp,0xf0100 -80000378: f2010113 addi sp,sp,-224 # f00fff20 -8000037c: 00012023 sw zero,0(sp) +80000358 : +80000358: f0100137 lui sp,0xf0100 +8000035c: f2010113 addi sp,sp,-224 # f00fff20 +80000360: 00012023 sw zero,0(sp) diff --git a/src/test/cpp/raw/pmp/build/pmp.elf b/src/test/cpp/raw/pmp/build/pmp.elf index c28d2cd..f6c3c69 100755 Binary files a/src/test/cpp/raw/pmp/build/pmp.elf and b/src/test/cpp/raw/pmp/build/pmp.elf differ diff --git a/src/test/cpp/raw/pmp/build/pmp.hex b/src/test/cpp/raw/pmp/build/pmp.hex index 805692b..509c291 100644 --- a/src/test/cpp/raw/pmp/build/pmp.hex +++ b/src/test/cpp/raw/pmp/build/pmp.hex @@ -1,15 +1,15 @@ :0200000480007A :10000000930400009700000093800001739050302B :100010006F00400173101F3463940400730020309C -:1000200067000F00130E0000170F0000130F0F34AE +:1000200067000F00130E0000170F0000130F4F3270 :10003000B70000803782008037C1ADDE1301F1EEDA -:1000400023A020002320220083A10000631E313062 -:1000500083210200631A3130B7021A077390023A03 -:100060007323003A63926230B702191A93824230C6 +:1000400023A020002320220083A100006310313070 +:1000500083210200631C312EB7021A077390023A03 +:100060007323003A6394622EB702191A93824230C6 :100070007390123AB7120F009382A2907390223AB3 -:100080007323203A6392622EB7221E1C9382029041 +:100080007323203A6394622CB7221E1C9382029041 :100090007390323AB70200207390023B7323003B07 -:1000A0006394622C9302F0FF7390123BB7022020FE +:1000A0006396622A9302F0FF7390123BB7022020FE :1000B0007390223BB74200209382F2FF7390323B51 :1000C000B74200209382F2FF7390423BB742002078 :1000D0009382F2FF7390523BB70200239382F2FFA8 @@ -19,41 +19,40 @@ :10011000930200007390C23B930200007390D23BA5 :10012000930200007390E23B9302F0FF7390F23B66 :100130003701C1001301E1FE23A02000232022008B -:1001400083A1000063123122930100008321020089 -:10015000631C3120130E1000170F0000130F0F2126 +:1001400083A1000063143120930100008321020089 +:10015000631E311E130E1000170F0000130F4F1FE8 :10016000B7129A07938282807390023A7323003AFF -:10017000639C621EB700808037C1ADDE1301F1EED3 +:10017000639E621CB700808037C1ADDE1301F1EED3 :1001800023A02000170F0000130F0F0183A1000010 -:100190006F00801D130E2000170F0000130F0F1D9E -:1001A000B7021A077390023A7323003A638E621AF9 -:1001B0007350303B7323303B6318031A7350203B5A -:1001C0007323203B6302031AB700808037C1ADDE82 +:100190006F00C01B130E2000170F0000130F4F1B22 +:1001A000B7021A077390023A7323003A6380621A07 +:1001B0007350303B7323303B631A03187350203B5A +:1001C0007323203B63040318B700808037C1ADDE82 :1001D0001301F1EE23A02000170F0000130F0F01F1 -:1001E00083A100006F004018130E3000170F0000AD -:1001F000130FCF17B702FF0073A0323B7323303BBE -:10020000639462169302F00F73A0323B7323303B6A -:10021000B702FF009382F20F63986214B702FF00E7 -:1002200073B0323B7323303B9302F00F639E621234 +:1001E00083A100006F008016130E3000170F00006F +:1001F000130F0F16B702FF0073A0323B7323303B7F +:10020000639662149302F00F73A0323B7323303B6A +:10021000B702FF009382F20F639A6212B702FF00E7 +:1002200073B0323B7323303B9302F00F6390621242 :10023000B702FF009382F20F73B0023A7323003AC1 -:10024000B7029A0763926212B702FF00938272703C +:10024000B7029A0763946210B702FF00938272703C :1002500073A0023A7323003AB7029A07938272702E -:1002600063946210130E4000170F0000130F0F105D +:100260006396620E130E4000170F0000130F4F0E1F :1002700017010000130101017310113473002030C5 -:10028000130E5000170F0000130F4F0E37C1ADDED5 +:10028000130E5000170F0000130F8F0C37C1ADDE97 :100290001301F1EEB700808023A02000170F0000AB -:1002A000130F0F0183A100006F00000C130E6000FC -:1002B000170F0000130F8F0B37C1ADDE1301F1EEE6 -:1002C000B700008823A0200083A10000130E700057 -:1002D000170F0000130F8F09B7000089938000FFEC -:1002E00083A10000170F0000130F0F0123A030009F -:1002F0006F008007130E8000170F0000130F4F01CF -:10030000930410007350303A6F000006130E800003 -:10031000B7221E1C938202907323303A63966204C4 -:10032000130E9000170F0000130F4F0493040000EA -:100330001701000013010101731011347300203004 -:10034000130E9000170F0000130F4F0193041000BD -:100350007350A03B6F004001130E90009302F0FF1A -:100360007323A03B63886200370110F0130141F250 -:100370002320C101370110F0130101F223200100F5 +:1002A000130F0F0183A100006F00400A130E6000BE +:1002B000130E7000170F0000130F8F09B70000898D +:1002C000938000FF83A10000170F0000130F0F01A0 +:1002D00023A030006F008007130E8000170F00006E +:1002E000130F4F01930410007350303A6F00000653 +:1002F000130E8000B7221E1C938202907323303AA3 +:1003000063966204130E9000170F0000130F4F0442 +:100310009304000017010000130101017310113450 +:1003200073002030130E9000170F0000130F4F01C1 +:10033000930410007350A03B6F004001130E900017 +:100340009302F0FF7323A03B63886200370110F033 +:10035000130141F22320C101370110F0130101F212 +:040360002320010055 :040000058000000077 :00000001FF diff --git a/src/test/cpp/raw/pmp/build/pmp.map b/src/test/cpp/raw/pmp/build/pmp.map index 0a074b1..ab2c78d 100644 --- a/src/test/cpp/raw/pmp/build/pmp.map +++ b/src/test/cpp/raw/pmp/build/pmp.map @@ -8,26 +8,26 @@ onChipRam 0x0000000080000000 0x0000000000020000 w !xr Linker script and memory map LOAD build/src/crt.o -LOAD /opt/riscv/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/rv32i/ilp32/libgcc.a +LOAD /opt/riscv_10092021/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/rv32i/ilp32/libgcc.a START GROUP -LOAD /opt/riscv/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/lib/rv32i/ilp32/libc.a -LOAD /opt/riscv/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/lib/rv32i/ilp32/libgloss.a +LOAD /opt/riscv_10092021/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/lib/rv32i/ilp32/libc.a +LOAD /opt/riscv_10092021/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/../../../../riscv64-unknown-elf/lib/rv32i/ilp32/libgloss.a END GROUP -LOAD /opt/riscv/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/rv32i/ilp32/libgcc.a +LOAD /opt/riscv_10092021/bin/../lib/gcc/riscv64-unknown-elf/8.3.0/rv32i/ilp32/libgcc.a -.crt_section 0x0000000080000000 0x380 +.crt_section 0x0000000080000000 0x364 0x0000000080000000 . = ALIGN (0x4) *crt.o(.text) - .text 0x0000000080000000 0x380 build/src/crt.o + .text 0x0000000080000000 0x364 build/src/crt.o 0x0000000080000000 _start 0x0000000080000014 trap OUTPUT(build/pmp.elf elf32-littleriscv) -.data 0x0000000080000380 0x0 - .data 0x0000000080000380 0x0 build/src/crt.o +.data 0x0000000080000364 0x0 + .data 0x0000000080000364 0x0 build/src/crt.o -.bss 0x0000000080000380 0x0 - .bss 0x0000000080000380 0x0 build/src/crt.o +.bss 0x0000000080000364 0x0 + .bss 0x0000000080000364 0x0 build/src/crt.o .riscv.attributes 0x0000000000000000 0x1a diff --git a/src/test/cpp/raw/pmp/src/crt.S b/src/test/cpp/raw/pmp/src/crt.S index 5c74beb..ce10ad7 100644 --- a/src/test/cpp/raw/pmp/src/crt.S +++ b/src/test/cpp/raw/pmp/src/crt.S @@ -206,11 +206,11 @@ test5: // attempt to read/write overlapping regions from U-mode test6: li TEST_ID, 6 - la TRAP_RETURN, fail - li x2, 0xdeadbeef - li x1, 0x88000000 - sw x2, 0x0(x1) // should be OK (write region 6/7) - lw x3, 0x0(x1) // should be OK (write region 6/7) + //la TRAP_RETURN, fail + //li x2, 0xdeadbeef + //li x1, 0x88000000 + //sw x2, 0x0(x1) // should be OK (write region 6/7) + //lw x3, 0x0(x1) // should be OK (write region 6/7) test7: li TEST_ID, 7