Re: Advice on learning the picolisp asm?

2017-01-02 Thread Alexander Burger
Hi Bruno,

> the assembly part of pico is still too big for me to chew on, but I'll keep
> my eye on it. After all, part of the allure of the language is that I might
> be able to understand the Entire Thing someday.

Exactly! :)

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Advice on learning the picolisp asm?

2017-01-02 Thread Bruno Franco
Thanks for the advice guys. I hadn't even thought of checking the
documentation that actually *came* with the language. I've realised that
the assembly part of pico is still too big for me to chew on, but I'll keep
my eye on it. After all, part of the allure of the language is that I might
be able to understand the Entire Thing someday.

On Sat, Dec 31, 2016 at 8:56 AM, Alexander Burger 
wrote:

> On Sat, Dec 31, 2016 at 01:49:28PM +0100, Joh-Tob Schäg wrote:
> > I think if Regenaxer adds a new function the function pointer and thereby
> > the binary(assembly code) becomes invalid.
>
> You misunderstood the question.
>
> > > On Sat, Dec 31, 2016 at 12:28:06AM -0500, Bruno Franco wrote:
> > > > I don't really know any asm, but since the asm code for the picolisp
> > > > functions is just a (vi 'function) away, I feel tempted to try.
>
> (vi 'function) edits the (Assembly- or Lisp-) *source* of 'function'.
>
> This has nothing to do with the function pointer, i.e. the address the
> machine
> code gets loaded to by the system linker at runtime. And this address is
> not
> predictable at all, it may even change upon each invocation of the binary,
> depending on the linker and kernel's memory policy.
>
> - Alex
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: Advice on learning the picolisp asm?

2016-12-31 Thread Alexander Burger
On Sat, Dec 31, 2016 at 01:49:28PM +0100, Joh-Tob Schäg wrote:
> I think if Regenaxer adds a new function the function pointer and thereby
> the binary(assembly code) becomes invalid.

You misunderstood the question.

> > On Sat, Dec 31, 2016 at 12:28:06AM -0500, Bruno Franco wrote:
> > > I don't really know any asm, but since the asm code for the picolisp
> > > functions is just a (vi 'function) away, I feel tempted to try.

(vi 'function) edits the (Assembly- or Lisp-) *source* of 'function'.

This has nothing to do with the function pointer, i.e. the address the machine
code gets loaded to by the system linker at runtime. And this address is not
predictable at all, it may even change upon each invocation of the binary,
depending on the linker and kernel's memory policy.

- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Advice on learning the picolisp asm?

2016-12-31 Thread Joh-Tob Schäg
I think if Regenaxer adds a new function the function pointer and thereby
the binary(assembly code) becomes invalid.
Am 31.12.2016 13:17 schrieb "Alexander Burger" :

> On Sat, Dec 31, 2016 at 12:28:06AM -0500, Bruno Franco wrote:
> > I don't really know any asm, but since the asm code for the picolisp
> > functions is just a (vi 'function) away, I feel tempted to try.
> >
> > I've found some advice on learning asm in general, but is there
> > anything unique of the one used in the picolisp virtual machine
> > that I should know of?
>
> Probably not. All relevant details should be found in "doc64/asm".
> - Alex
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: Advice on learning the picolisp asm?

2016-12-31 Thread Alexander Burger
On Sat, Dec 31, 2016 at 09:11:37AM +0100, Joh-Tob Schäg wrote:
> As far as i know the picolisp assembler can change if now functions are
> added to the machine in abway to invalidates all asm. But not sure. If you

Uh? What changes? Can you be more clear?
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Advice on learning the picolisp asm?

2016-12-31 Thread Alexander Burger
On Sat, Dec 31, 2016 at 12:28:06AM -0500, Bruno Franco wrote:
> I don't really know any asm, but since the asm code for the picolisp
> functions is just a (vi 'function) away, I feel tempted to try.
> 
> I've found some advice on learning asm in general, but is there
> anything unique of the one used in the picolisp virtual machine
> that I should know of?

Probably not. All relevant details should be found in "doc64/asm".
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: Advice on learning the picolisp asm?

2016-12-31 Thread Joh-Tob Schäg
As far as i know the picolisp assembler can change if now functions are
added to the machine in abway to invalidates all asm. But not sure. If you
want to learn some asm there are better places. Misp is famous for being
easy to work with.
Am 31.12.2016 06:33 schrieb "Bruno Franco" :

> I don't really know any asm, but since the asm code for the picolisp
> functions is just a (vi 'function) away, I feel tempted to try.
>
> I've found some advice on learning asm in general, but is there
> anything unique of the one used in the picolisp virtual machine
> that I should know of?
>


Advice on learning the picolisp asm?

2016-12-30 Thread Bruno Franco
I don't really know any asm, but since the asm code for the picolisp
functions is just a (vi 'function) away, I feel tempted to try.

I've found some advice on learning asm in general, but is there
anything unique of the one used in the picolisp virtual machine
that I should know of?