On Wed, 6 Jun 2012 20:57:47 +0200 Martin Truebner <[email protected]>
wrote:
:>>> I suggest you learn how to use LOCTR.
:>NO COMMENT
It is good advice.
:>>> It's a much simpler method than using
:>=S(xxxx) and certainly more readable.
:>Simpler- maybe! more readable- judge it here:
:>................................................
:>My suggestion:
:>a SETC as intro
:>and EX R2,=S(&PKA,QWORD,0(R10))
:>.................................................
:>or (more readable):
:>a CODE LOCTR and DEFS LOCTR as intro
:>and
:> EX R2,PKA_02
:>DEFS LOCTR
:>PKA_02 PKA QWORD,0(0,R10)
:>CODE LOCTR
I have a @DC macro as well as an @EX macro to allow the constants to be placed
in the source file near the code that uses it and the assembler neatly
packages all the constant data (including the EXed instructions) together.
Isn't
@EX R2,PKA,QSWORD,0(0,R10)
clearer?
--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com
Director, Dissen Software, Bar & Grill - Israel
Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.
I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.