Implemented the rest of the unsigned integer operations
This commit is contained in:
parent
f9a715e3b1
commit
1ade055e09
5 changed files with 46 additions and 4 deletions
10
tests/mul.asm
Normal file
10
tests/mul.asm
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
include "fvm.inc"
|
||||
|
||||
org 0x4000000000000000
|
||||
MovI64 r95, UART_TX
|
||||
MovI64 r2, 2
|
||||
MovI64 r3, 4
|
||||
MulR64 r2, r3
|
||||
MovI64 r4, 48 ; ascii for 0
|
||||
AddR64 r2, r4
|
||||
St8 r2, r95
|
||||
Loading…
Add table
Add a link
Reference in a new issue