[comp.sys.amiga] Manx Assembler

25376873%WSUVM1.BITNET@cunyvm.cuny.edu (Gregg Gaviglio) (09/30/88)

What is the easiest way to get even word alignment using the Manx Assembler
(v3.6a)?  I've read other postings that state CNOP 0,2 doesn't work.
Thanks

      -Gregg

ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) (10/01/88)

In article <4346@louie.udel.EDU> 25376873%WSUVM1.BITNET@cunyvm.cuny.edu (Gregg Gaviglio) writes:
>What is the easiest way to get even word alignment using the Manx Assembler
>(v3.6a)?  I've read other postings that state CNOP 0,2 doesn't work.

	This has worked for me:

	ds	0

	Interesting aside:  I had assembled a program that looked something
like this:

	code	arg
	code	arg
	dc.b	'odd-length  string',0
label
	code	arg

	It turned out that 'label' had acquired an odd value, and was
assembled that way.  Sparks flew when I tried to jump to the label.
Sticking in the "ds 0" fixed it.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape	INET: well!ewhac@ucbvax.Berkeley.EDU
 \_ -_		Recumbent Bikes:	UUCP: pacbell > !{well,unicom}!ewhac
O----^o	      The Only Way To Fly.	      hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor

ewhac%well.uucp@UDEL.EDU (10/04/88)

Received: from CUNYVM by CUNYVM.BITNET (Mailer X2.00) with BSMTP id 4695; Sun,
 02 Oct 88 00:25:34 EDT
Received: from UDEL.EDU by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with TCP; Sun, 02
 Oct 88 00:25:31 EDT
Received: from Louie.UDEL.EDU by Louie.UDEL.EDU id ab27787; 1 Oct 88 7:42 EDT
Received: from USENET by Louie.UDEL.EDU id aa27716; 1 Oct 88 7:39 EDT
From: Leo 'Bols Ewhac' Schwab <ewhac@well.uucp>
Subject: Re: Manx Assembler
Message-ID: <7262@well.UUCP>
Date: 1 Oct 88 08:05:35 GMT
Organization: Network 23 (XXIII)
Quote: "On Earth it is considered ill mannered to kill your friends while
    committing suicide."  -- Avon
To:       amiga-relay@UDEL.EDU
Sender:   amiga-relay-request@UDEL.EDU

In article <4346@louie.udel.EDU> 25376873%WSUVM1.BITNET@cunyvm.cuny.edu (Gregg
 Gaviglio) writes:
>What is the easiest way to get even word alignment using the Manx Assembler
>(v3.6a)?  I've read other postings that state CNOP 0,2 doesn't work.

    This has worked for me:

    ds    0

    Interesting aside:  I had assembled a program that looked something
like this:

    code    arg
    code    arg
    dc.b    'odd-length  string',0
label
    code    arg

    It turned out that 'label' had acquired an odd value, and was
assembled that way.  Sparks flew when I tried to jump to the label.
Sticking in the "ds 0" fixed it.

_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Leo L. Schwab -- The Guy in The Cape    INET: well!ewhac@ucbvax.Berkeley.EDU
 \_ -_        Recumbent Bikes:    UUCP: pacbell > !{well,unicom}!ewhac
O----^o          The Only Way To Fly.          hplabs / (pronounced "AE-wack")
"Work FOR?  I don't work FOR anybody!  I'm just having fun."  -- The Doctor