Add initial register states to meta section; remove entry directive

It makes sense to allow users to set the initial register values. This
allows someone to e.g. enable interrupts once the VM has started, or set
the initial stack pointer value.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-03-10 12:18:31 -04:00
parent 3522b3d0cd
commit 551bd2c3f4
8 changed files with 103 additions and 11 deletions

View File

@@ -31,6 +31,6 @@
}
.meta {
entry: main
ip: main
}