ACTION BOX

 

The ACTION BOX is actually where most things happens, here is the master

container of functionality in any and every situation. The ACTION BOX is the

main carrier of code instructions in the entire system.

 

So how does it work?

 

All functions is setup as macros, the macro will instruct the system how to

generate the code you need to get your project going.

 

Let's take an example:

 

Let's use the simplest form of routine possible a Delay let's say a delay for

1 second. This delay is doing nothing more that take a break for 1 second.

If we mix this with one macro for setting a bit in this case a LED and one macro

for turning the LED off we have a small program.

 

SetBit   This is the actual macro that tell the MCU to turn the bit on!

Delay1S This is the actual pause for 1 second

ClrBit   This is the actual macro that tell the MCU to turn the bit off.

 

These are all you have to do in this system, you can now compile this for a fully

functional code to be generated.  If you have a TRIAL SYSTEM you will have the

compilation done but no ASSEMBLER code generated.

 

Compilation is actually what it sounds like, you can compile a book from i.e. English 

to German, in this case we compile the macros into functioning ASSEMBLER CODE

that can be put into your chip and run.

 

What we have achieved here is a simple program that turns on a LED for one second

and then turn the LED off again.