fixed a bug with the multiply function in core.dsa and added a print_num

function to print.dsa for decimal numbers
This commit is contained in:
2026-01-31 13:28:11 +00:00
parent 63c9d858b4
commit e31deb594f
2 changed files with 65 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ multiply:
ldw bpr, rg0, 8 // load op 2
ldw bpr, rg1, 12 // load op 1
lwi 0, rg2 // initialise rg2 to zero
_multiply_loop:
add rg2, rg0, rg2