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