You can teach an old dog new tricks.

I never knew about this and used the PUSH approach below.

On Tue, 2 Sep 2025 20:10:29 +1000 Peter Morrison
<0000160d7dfdc207-dmarc-requ...@listserv.uga.edu> wrote:

:>Hello,
:>
:>              Has anyone else used (0) at the end of an RX (or RXY) 
instruction to suppress the assembler's alignment check? 
:>
:>              For Example:
:>
:>                              DC X'00'        force next field to be unaligned
:>              X_UNAL  DC AL4(0)       Declare an unaligned fullword
:>
:>                              L       R0,X_UNAL                       gets a 
warning
:>                              L       R0,X_UNAL(0)                    same 
generated code (ix reg is 0) but no warning
:>
:>              If so, where is it documented? (this is easier than a <PUSH 
ACONTROL/ACONTROL NOALIGN/instr/POP ACONTROL> sequence (and takes no extra 
lines))
:>
:>Peter Morrison

--
Binyamin Dissen <bdis...@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

Reply via email to