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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user