flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 |
Author |
|
revolution 28 May 2014, 15:51
JohnFound wrote:
|
|||
![]() |
|
JohnFound 28 May 2014, 15:54
revolution wrote: I was using your terminology of "common" variables. And I meant only the common variables in my above comment. The other overlapping locals is a separate thing. Note my usage of clocals/endl to differentiate it from locals/endl But if they are "common" they need to be defined on "common" place in the source. The place between "proc" and "begin" is exactly such common for the whole procedure place. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
typedef 28 May 2014, 15:55
Is this starting to look like Object Pascal?
|
|||
![]() |
|
revolution 28 May 2014, 15:56
So I'm guessing you are enforcing the layout of the proc with all common variables defined only in one place and all labels must have a prefix dot? If you want to encourage more people to use Fresh (as seems to be the case) then would it not be prudent to allow for other styles if people so wished?
Edit: Cross post with typedef. My comment was intended for JohnFound. |
|||
![]() |
|
JohnFound 28 May 2014, 16:13
Quote: If you want to encourage more people to use Fresh (as seems to be the case) then would it not be prudent to allow for other styles if people so wished? Fresh IDE does not require the use of FreshLib at all. It is easy to set whatever the user library prefer. Fresh IDE tools are not FreshLib centric and any report about compatibility issues with another set of libraries will be considered a bug, until is proved, that this feature can not be implemented for this set of libraries. @typedef - The only thing that "looks" like Pascal in this case is the macro "begin" and it have nothing to do with the OOP library, it is inheritance from the "proc" macro syntax. Anyway, how should "look" object oriented extension of assembly language? P.S. If someone does not like the word "begin" he always can use: Code: start fix begin |
|||
![]() |
|
m3ntal 29 May 2014, 19:40
Why must all parameters, locals, methods, etc, begin with a dot? It has nothing to do with anonymous labels. Why does the following require your HL begin and return keywords? Why can't proc and endp indicate the begin and end of procedures?
Code: proc f, .a, .b, .c ; why this? begin ; ... return endp proc f, a, b, c ; instead of this? ; ... endp |
|||
![]() |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.