Function definition: Difference between revisions
→{{header|8086 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 139:
mov al, 0x04
mov bl, 0x05
call
;at this point in execution, the AX register contains 0x0900.
;more code goes here, ideally with some sort of guard against "fallthrough" into
; somewhere far away from start
multiply:
mul bl ;outputs 0x0014 to ax
ret</lang>
|