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:
@@ -1,4 +1,4 @@
|
||||
.section data $0x0 {
|
||||
.section data $0x1000 {
|
||||
number: .u8 $10
|
||||
|
||||
main:
|
||||
@@ -109,6 +109,6 @@
|
||||
}
|
||||
|
||||
.meta {
|
||||
entry: main
|
||||
ip: main
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user