Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
ORG RESET
|
||||
mov a, #100
|
||||
mov b, #10
|
||||
call multiply
|
||||
; at this point, the result of 100*10 = 1000 = 03e8h is stored in registers a and b
|
||||
; a = e8
|
||||
; b = 03
|
||||
jmp $
|
||||
|
||||
multiply:
|
||||
mul ab
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue