asm syntax

Mike Frysinger vapier@gentoo.org
Sun Mar 10 10:21:00 GMT 2013


On Friday 08 March 2013 20:15:42 Kenneth O'Brien wrote:
> ok. point taken. I'll stick with at&t syntax. fyi, I've no background
> in windows/dos programming, just find intel syntax much cleaner and I
> began with yasm on linux.

both styles are ugly :p

i prefer the Blackfin assembly myself as it's algebraic and pretty easy for 
anyone to pick up

	R0 = 0x100;
	SP = R0;
	CC = R0 == 0;
	IF CC JUMP foo;
	[P3] = 0x1;
	R3 = [P4 + 0x100];
	CALL bar;
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20130310/9cad5413/attachment.sig>


More information about the Libc-alpha mailing list