9front - general discussion about 9front
 help / color / mirror / Atom feed
* /sys/doc/asm.ms
@ 2016-01-04 21:12 Ethan Grammatikidis
  2016-01-04 21:49 ` [9front] /sys/doc/asm.ms Ori Bernstein
  0 siblings, 1 reply; 3+ messages in thread
From: Ethan Grammatikidis @ 2016-01-04 21:12 UTC (permalink / raw)
  To: 9front

the amd64 section says "c pointer values are 64 bits". this is not true for 9front, is it? would it be appropriate to change it or insert a note to say so?

/sys/doc/asm.ms:978
/sys/doc/asm.ms!8

-- 
Wir mussen wissen, wir werden wissen.


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

* Re: [9front] /sys/doc/asm.ms
  2016-01-04 21:12 /sys/doc/asm.ms Ethan Grammatikidis
@ 2016-01-04 21:49 ` Ori Bernstein
  2016-01-04 22:20   ` Ethan Grammatikidis
  0 siblings, 1 reply; 3+ messages in thread
From: Ori Bernstein @ 2016-01-04 21:49 UTC (permalink / raw)
  To: 9front

I'm pretty sure that it is true: On amd64, pointers are 64 bits.

> On Jan 4, 2016, at 1:12 PM, Ethan Grammatikidis <eekee57@fastmail.fm> wrote:
> 
> the amd64 section says "c pointer values are 64 bits". this is not true for 9front, is it? would it be appropriate to change it or insert a note to say so?
> 
> /sys/doc/asm.ms:978
> /sys/doc/asm.ms!8
> 
> -- 
> Wir mussen wissen, wir werden wissen.
> 



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

* Re: [9front] /sys/doc/asm.ms
  2016-01-04 21:49 ` [9front] /sys/doc/asm.ms Ori Bernstein
@ 2016-01-04 22:20   ` Ethan Grammatikidis
  0 siblings, 0 replies; 3+ messages in thread
From: Ethan Grammatikidis @ 2016-01-04 22:20 UTC (permalink / raw)
  To: 9front

On Mon, Jan 4, 2016, at 09:49 PM, Ori Bernstein wrote:
> I'm pretty sure that it is true: On amd64, pointers are 64 bits.
> 
> > On Jan 4, 2016, at 1:12 PM, Ethan Grammatikidis <eekee57@fastmail.fm> wrote:
> > 
> > the amd64 section says "c pointer values are 64 bits". this is not true for 9front, is it? would it be appropriate to change it or insert a note to say so?
> > 
> > /sys/doc/asm.ms:978
> > /sys/doc/asm.ms!8

you're right ori. i just tested with int *p; print("%d", sizeof(p));

i found the source of my confusion: malloc takes ulong size, which is 32 bits.

nothing really new here then.


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

end of thread, other threads:[~2016-01-04 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-04 21:12 /sys/doc/asm.ms Ethan Grammatikidis
2016-01-04 21:49 ` [9front] /sys/doc/asm.ms Ori Bernstein
2016-01-04 22:20   ` Ethan Grammatikidis

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).