flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 01 May 2006, 21:12
i believe structure cannot be named ":" so you can't. you must find other solution
|
|||
![]() |
|
bogdanontanu 02 May 2006, 00:07
What exactly do you mean by "overload" ?
|
|||
![]() |
|
Borsuc 03 May 2006, 15:43
Well, you can 'overload' instructions if you use the same name.
Code: macro mov p1*, p2* { ; ... } And of course, you can overload the 'label' directive too (if you use the name 'label'). I want to add some things there, but I don't know how to do it with simple labels, like: Code: simple_label: Code: label just_a_label ![]() |
|||
![]() |
|
Ancient One 22 May 2006, 07:54
Quote:
this is "override" since we can only call the latest "mov" definition. |
|||
![]() |
|
Borsuc 22 May 2006, 15:24
Ancient One wrote: this is "override" since we can only call the latest "mov" definition. Not really, since you can use some ifs inside the instruction and use the previous definition according to that condition, etc.. anyway, override, overload... I don't really make differences between them ![]() |
|||
![]() |
|
silkodyssey 22 May 2006, 15:49
I assume you're using the c++ terms and if so I think override would be the better term. I think we can say the mov instruction and most if not all instructions are already overloaded. They work with different parameters, registers, memory etc.
_________________ silkodyssey |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.