Myself, in place of

        *-4      EQU   *

I prefer

        *-4      DC   0H'0'

as it ensures alignment and ensure the TXT records are zero-filled.

Brent Longborough

> -----Original Message-----
> Date:    Tue, 28 Aug 2012 16:47:36 +0100
> From:    Steve Hobson <[email protected]>
> Subject: Re: which instructions should I use?
>
> "Never" is putting it a bit strong.  Suppose you are -- sorry, were --
> writing a macro that generates the code. Do you want a macro parameter
> that specifies a one-byte work area?
>
> BTW, the reason for omitting comments was to allow the reader a slight
> frisson on figuring out how it actually works. As per the following famous
> enhanced version:
>
> *-4   EQU   *
>       CLI   *+1,B'11111100'
>       EX    R15,*-4
>       BNE   error
>
> Best regards, Steve Hobson
>
> From: "Steve Hobson" <[email protected]>
> Sent: Wednesday, 29 August 2012 12:53 AM
>

Reply via email to