Subject: EC2 updates
From: paul lamar
Date: 6/21/2017, 12:47 PM
To: A10-Me-Earthlink



Paul,

Tracy generously offered to share the source code for his EC2.

It uses Microchip IDE, which is free and has versions for Windows,
Mac OS X and Linux.

http://www.microchip.com/mplab/mplab-x-ide
<http://www.microchip.com/mplab/mplab-x-ide

Scott Gettings


WOW!!!! that is great.

I can do asm.  I'll take a look and see if I can explain it for
everybody.

ASM is plain English and easy to learn. It is tedious however because
you are moving bits from one register to another one step at a time.
Think of them as mail boxes. Some mail boxes have wires coming out of
them that you can connect to injectors or sensors. There can be
thousands of steps.

You can open this file with any text editor.

I think I threw my MicroChip asm books away but I am sure they will
be available on ebay or in pdf form.

What is the number on the top of your CPU Scott? That way I can get
the correct instruction set.

Paul Lamar



Paul- It's missing an include file, "p18F6680.inc". That's also your
processor type.

Kenny Aron


I think that might be obtainable on the MicroChip web site.
Tracy has years of trial an error work on this.

A hi level language such as the Maximite uses is converted to an ASM
program that is in the Maximite. It can take months to write programs
in asm. Hours in a high level language. One instruction in a high level can
result to as much as 100 instructions in asm. They are never as fast however.

It took me a year to write my first program in hex one step below ASM.

Print out the code as it will help you understand it by jumping around
to sub routines. Also set the font on the text editor to 10 as that will
make the code much clearer before you print it.

Paul Lamar

The Rotary Engine free News Letter. Powered by Linux. If you want
off the list PLEASE let me know and I will remove  you.  ACRE NL web
site. http://www.rotaryeng.net You Tube http://tinyurl.com/beqqxas
Copyright 1998-2017 All world wide rights reserved.