Bob LeDoux
2017-09-26 19:05:58 UTC
Show me mind twisters that utilize assembler with minimal 8 bit PIC's.
Or as David Brown said: "One of the great pleasures of my retirement is solving difficult calculations in assembler for PIC16s."
My Conway's Game of Life was typical: Take a well defined algorithm, and create it in PIC assembler using minimal hardware.
Here is another example: I have a decimal value between 0 and 1. I need to generate two integers a and b, such that a/b closely approximates the decimal value. One algorithm is Jon Farey's best rational approximation. Here is a presentation:
https://www.johndcook.com/blog/2010/10/20/best-rational-approximation/
These are the kinds of exercises for me. But where do I find them?
--
Bob LeDoux <***@proaxis.com>
Date: Tue, 26 Sep 2017 16:00:31 +0100
From: David C Brown <***@gmail.com>
Subject: Re: [PIC] Lost Souls
To: "Microcontroller discussion list - Public." <***@mit.edu>
Message-ID:
<***@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
One of the great pleasures of my retirement is solving difficult
calculations in assembler or PIC16s. With all the pressures of deadlines
gone I can spend an entire day crafting an exquisite 10 lines of
assembler. Far more interesting and demanding as doing a suduko and, in
the greater scheme of things, equally futile.
Or as David Brown said: "One of the great pleasures of my retirement is solving difficult calculations in assembler for PIC16s."
My Conway's Game of Life was typical: Take a well defined algorithm, and create it in PIC assembler using minimal hardware.
Here is another example: I have a decimal value between 0 and 1. I need to generate two integers a and b, such that a/b closely approximates the decimal value. One algorithm is Jon Farey's best rational approximation. Here is a presentation:
https://www.johndcook.com/blog/2010/10/20/best-rational-approximation/
These are the kinds of exercises for me. But where do I find them?
--
Bob LeDoux <***@proaxis.com>
Date: Tue, 26 Sep 2017 16:00:31 +0100
From: David C Brown <***@gmail.com>
Subject: Re: [PIC] Lost Souls
To: "Microcontroller discussion list - Public." <***@mit.edu>
Message-ID:
<***@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
One of the great pleasures of my retirement is solving difficult
calculations in assembler or PIC16s. With all the pressures of deadlines
gone I can spend an entire day crafting an exquisite 10 lines of
assembler. Far more interesting and demanding as doing a suduko and, in
the greater scheme of things, equally futile.
--
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist