Re: Defining Functions in ASM
[Prev][Next][Index][Thread]
Re: Defining Functions in ASM
You should be able to call something you've labeled.
For example:
Function:
.
.
Few lines of code
.
.
ret
call Function ;this call should work as a jump to the function and
come back to the next line when the ret command is used in the label.
I've only done 85/86 asm, but I think it should be the same.
Lucca
Nathan Ernst wrote:
>
> Does anyone there know how to define your own functions in the asm
> programming. I want to be able to access it using "call ..." not "jp
> ..." If someone could get me this information, it'd be greatly
> appreciated. I'm trying to shrink down one of my programs for the
> 83. I should be able to cut it by half if I can get this to work.
>
> Thanks
>
> NE
References: