gem5 semihosting

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-24 09:26:39 +01:00
parent 595e52bb5c
commit b2230bacf9
6 changed files with 40 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
.global mystart
mystart:
mov x1, #0x26
movk x1, #2, lsl #16
str x1, [sp,#0]
mov x0, #0
str x0, [sp,#8]
mov x1, sp
mov w0, #0x18
hlt 0xf000