At 2:32 pm +0100 6/8/98, Andrew Gale wrote: >The assembler is dead easy too - you type the pic program in >as a BASIC program, and each PIC instruction is a BASIC procedure >- it's a little slow, but it's fine for the short programs most >PICs are used for. ... >Still, it's a lovely tool, and once you get used to it, it's quite a >bit more flexible than a standard assembler - for example, you can >create an 80 cycle delay with: FOR i=1 TO 20 : nop : NEXT i >and an 18-entry sine wave look-up table with: >FOR i=0 TO 17 : retlw SIN(i*20*6.28/360) : NEXT i > >Simple!
Hmmm, sounds suspiciously similar to BIAS[1], a program which Ian wrote for the Spectrum way back when. I believe he once mentioned possibly starting to think about perhaps maybe writing a Sam version one day in the remote future.... Andrew [1] Basic Integrated Assembler System. Or something. -- +----------------+-----------------------------+----------------+ | Andrew Collier | email [EMAIL PROTECTED] | Talk sense | | 1B NatSci | http://carou.sel.cam.ac.uk/ | to a fool | +----------------+-----------------------------+ and he calls | | Selwyn College Student Computer Support Team | you foolish | | email [EMAIL PROTECTED] | -- Euripides | +----------------------------------------------+----------------+
