[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mes] Aligner pseudo-instruction
From: |
Danny Milosavljevic |
Subject: |
[bug-mes] Aligner pseudo-instruction |
Date: |
Wed, 13 Feb 2019 15:47:01 +0100 |
Hi Jeremiah,
Hi Jan,
on ARM (and many other architectures) it is customary to also pad data
structures in order to align members. I don't see any mechanism in hex2
(and/or M1 - probably not) in order to be able to force alignment at the
current position. It would be easy to add such a thing, it would just be some
pseudo-instruction that would do the following (example for 4 Byte alignment):
while (output_position & 3) {
fputc('\x00', stdout);
output_position += 1;
}
On ARM, "alignment" is meant in a very low-level way, "least significant bits
of the address == 0".
Could we add one?
pgpPilcaXabuU.pgp
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mes] Aligner pseudo-instruction,
Danny Milosavljevic <=