9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 6a bug
@ 2011-11-16 22:25 erik quanstrom
  2011-11-16 22:35 ` Charles Forsyth
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: erik quanstrom @ 2011-11-16 22:25 UTC (permalink / raw)
  To: 9fans

i plan to look at this when i get home, but it appears that 6a
doesn't like big numbers.  demo script follows

- erik
-------
; cat >a.s <<'EOF'
#define KZERO	(0xffffff0000000000ull)

TEXT bignumber(SB), 1, $0
	ADDQ	$KZERO, AX
	RET
EOF
; cat >ac.c<<EOF
#include <u.h>
#include <libc.h>

extern uvlong bignumber(uvlong);

void
main(void)
{
	print("%llux\n", bignumber(0));
	exits("");
}
EOF
; 6a a.s; 6c ac.c; 6l a.6 ac.6



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-17 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-16 22:25 [9fans] 6a bug erik quanstrom
2011-11-16 22:35 ` Charles Forsyth
2011-11-16 22:36   ` Charles Forsyth
2011-11-16 22:50 ` Russ Cox
2011-11-16 23:27   ` Charles Forsyth
     [not found] ` <CAOw7k5hJz=F13tUpq7mU3gSnSWr7H=y4rKCN-OUO-FOavBGygA@mail.gmail.c>
2011-11-17  0:50   ` erik quanstrom
2011-11-17 16:07     ` Russ Cox
2011-11-17 16:13       ` Charles Forsyth
     [not found]     ` <CADSkJJU2s1r8Qi=F9eT=+i2mCatxB+c_70teMBkQ3ToOsazGDA@mail.gmail.c>
2011-11-17 16:15       ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).