partially working with common address space. loading of .data section has been disabled

This commit is contained in:
2021-07-02 03:11:50 -06:00
parent 17a95b58c8
commit 9ff977c1be
4 changed files with 47 additions and 36 deletions

View File

@@ -229,7 +229,7 @@ test10:
nop
nop
nop
lw x11, 0(x9) # x11 = 0xfedcba98
lw x11, 0(x9) # x11 = 0xfedcba98 # TODO: do something with this
nop
nop
nop

View File

@@ -2,8 +2,8 @@ ENTRY(_start)
MEMORY
{
ROM (rx) : ORIGIN = 0x00000000, LENGTH = 1024
RAM (rwx) : ORIGIN = 0x00100000, LENGTH = 1024
ROM (rx) : ORIGIN = 0x00000000, LENGTH = 2k
RAM (rwx) : ORIGIN = 0x00000800, LENGTH = 2k
/* FLASH (rx) : ORIGIN = 0x00200000, LENGTH = 512 */
}