bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mes] [PATCH mescc-tools 2/2] Architectural_displacement: Handle


From: Jeremiah
Subject: Re: [bug-mes] [PATCH mescc-tools 2/2] Architectural_displacement: Handle ARM
Date: Sun, 17 Feb 2019 01:42:53 +0000

Danny,
I first want to thank you for your patience.
I have been playing with possible solutions and think I found the form
which will be easiest to implement in assembly and simplify the task of
expressing intent.

First I have added the aligned pointer ^!label, address@hidden and ^%label;
which can be tweaked in any way you like to make supporting exotic
alignment calculations.

Second I have added < and <Number (eg <30 ) to express implicit
alignment and explicit padding.
Simply drop a < on the line before a label that needs to be aligned and
it will be handled automatically.
If you wish to allocate 400bytes of NULLs, simply drop <400 on its own
line and be done.

Finally I have added a test to mescc-tools (Test12) to join the two
other existing armv7 tests (Test10 and Test11); So that you have 3 real
hand written assembly examples to keep working (Or revise if you wish to
do a breaking change) That demonstrates the Mapping between ARM
instruction encoding for about a dozen instructions and M1-Macro.

Let me know of any mistakes I made and how I can help you further.

-Jeremiah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]