Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 14:42:15 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Khaled Daham <khaled@w-arts.com>
Cc:        freebsd-alpha@freebsd.org
Subject:   RE: Alpha assembler programming.
Message-ID:  <XFMail.011113144215.jhb@FreeBSD.org>
In-Reply-To: <20011113231429.W97694-100000@fantasy.telia.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 13-Nov-01 Khaled Daham wrote:
> Hello!
> 
> I have convinced myself to do some assembly coding on alpha for some
> reason. I have almost managed to do a simple hello world involving
> write(2).

Use <machine/asm.h> it will let you use the pretty names for the registers (a0,
etc.) and has a CALL macro that might help you out.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011113144215.jhb>