Init
This commit is contained in:
commit
d23a3e49ff
22 changed files with 979 additions and 0 deletions
17
tests/hw.asm
Normal file
17
tests/hw.asm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
include 'fvm.inc'
|
||||
|
||||
org 0x4000000000000000
|
||||
start:
|
||||
MovI64 r3, msg
|
||||
MovI64 r1, 1
|
||||
MovI64 r95, UART_TX
|
||||
LoopHead:
|
||||
Ld8 r2, r3
|
||||
RSetF r2
|
||||
JmpIZ LoopTail
|
||||
St8 r2, r95
|
||||
AddR64 r3, r1
|
||||
Jmp LoopHead
|
||||
LoopTail:
|
||||
Halt
|
||||
msg db 'Hello World!', 10, 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue