big commit mostly related to moving start addresses to 0x8000
This commit is contained in:
@@ -6,7 +6,7 @@ these programs.
|
||||
|
||||
There is a free-running 64 bit timer, super easy to use, just read it.
|
||||
|
||||
Based on a couple of experiments, without messing with anything it
|
||||
Based on a couple of experiments, without messing with anything else it
|
||||
appears that the timer is runing at about a megahertz, 1 million ticks
|
||||
per second.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
MEMORY
|
||||
{
|
||||
ram : ORIGIN = 0x00000000, LENGTH = 0x1000
|
||||
ram : ORIGIN = 0x8000, LENGTH = 0x1000
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
|
||||
.globl _start
|
||||
_start:
|
||||
b reset
|
||||
|
||||
reset:
|
||||
mov sp,#0x1000
|
||||
mov sp,#0x8000
|
||||
bl notmain
|
||||
hang: b hang
|
||||
|
||||
|
||||
Reference in New Issue
Block a user