Initialising Mikroone

 

Before a program is started Mikroone is initialised.

 

The Initialisation is done by the application automatically.

 

Init Values

 

The Program Counter gets value 0, because the first command of  program always is at address 0.

 

The Special Registers (Zero and Overflow) get both initialised by 0 too.

 

The Registers R[2] to R[7] get the value 0.

 

Register R[0] gets 0.

Register R[1] gets 1

 

These two registers are read only and can not be changed by User.

 

Structure of Commands

 

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1 0

Op-Code

Command-Parameters

 

 

The first 5 Bits identify the command.

 

Bit 14 and 13 specify the kind of command

 

Can be different dependent on command