Function definition: Difference between revisions

Line 139:
mov al, 0x04
mov bl, 0x05
call domultiplymultiply
;at this point in execution, the AX register contains 0x0900.
;more code goes here, ideally with some sort of guard against "fallthrough" into summultiply.
 
; somewhere far away from start
multiply:
sum:
mul bl ;outputs 0x0014 to ax
ret</lang>
1,489

edits