On Fri, 15 May 2009 19:11:55 +0400, Jesse Phillips
wrote:
> On Fri, 15 May 2009 07:14:50 -0400, Vladimir A. Reznichenko wrote:
>
>> It looks like "inout/ref uint a" is equal to "uint* a" but the situation
>> when we write D's code "a = 5" means "*a = 5". This is not obvious, at
>> all. So when I
On Fri, 15 May 2009 07:14:50 -0400, Vladimir A. Reznichenko wrote:
> It looks like "inout/ref uint a" is equal to "uint* a" but the situation
> when we write D's code "a = 5" means "*a = 5". This is not obvious, at
> all. So when I wrote asm code, it wouldn't work.
Isn't that the point of a refer
Denis Koroskin Wrote:
> On Fri, 15 May 2009 14:41:35 +0400, Vladimir A. Reznichenko
> wrote:
>
> > Denis Koroskin Wrote:
> >
> >> On Fri, 15 May 2009 14:24:16 +0400, Vladimir A. Reznichenko
> >> wrote:
> >>
> >> > I have a function:
> >> >
> >> > void test (inout uint a)
> >> > {
> >> > asm
On Fri, 15 May 2009 14:41:35 +0400, Vladimir A. Reznichenko
wrote:
> Denis Koroskin Wrote:
>
>> On Fri, 15 May 2009 14:24:16 +0400, Vladimir A. Reznichenko
>> wrote:
>>
>> > I have a function:
>> >
>> > void test (inout uint a)
>> > {
>> >asm
>> >{
>> >mov a, 0x25;
>> >
Tim Matthews Wrote:
> On Fri, 15 May 2009 22:29:07 +1200, Robert Fraser
> wrote:
>
> > Vladimir A. Reznichenko wrote:
> >> I have a function:
> >> void test (inout uint a)
> >> {
> >>asm
> >>{
> >>mov a, 0x25;
> >>}
> >> }
> >> The trouble is that the function's call
Denis Koroskin Wrote:
> On Fri, 15 May 2009 14:24:16 +0400, Vladimir A. Reznichenko
> wrote:
>
> > I have a function:
> >
> > void test (inout uint a)
> > {
> > asm
> > {
> > mov a, 0x25;
> > }
> > }
> >
> > The trouble is that the function's call doesn't change the a va
On Fri, 15 May 2009 14:24:16 +0400, Vladimir A. Reznichenko
wrote:
> I have a function:
>
> void test (inout uint a)
> {
> asm
> {
> mov a, 0x25;
> }
> }
>
> The trouble is that the function's call doesn't change the a variable.
> Any ideas?
>
I believe your code
On Fri, 15 May 2009 22:29:07 +1200, Robert Fraser
wrote:
Vladimir A. Reznichenko wrote:
I have a function:
void test (inout uint a)
{
asm
{
mov a, 0x25;
}
}
The trouble is that the function's call doesn't change the a variable.
Any ideas?
Inout var
Vladimir A. Reznichenko wrote:
I have a function:
void test (inout uint a)
{
asm
{
mov a, 0x25;
}
}
The trouble is that the function's call doesn't change the a variable.
Any ideas?
Inout variables are pointers.
I have a function:
void test (inout uint a)
{
asm
{
mov a, 0x25;
}
}
The trouble is that the function's call doesn't change the a variable.
Any ideas?
10 matches
Mail list logo