In an attempt to discover the properties of the nervous system, we imagined the conditions under which a machine would be able to construct its own program and from which emerged the model of Self Modifying Automata (SMA). We demonstrated the unicity of the SMA model, their convergence in a p-cycle and, in this case, the SELFREFERENCE of a stabilised SMA (it then generates its own program), their adaptability when connected to a deterministic world. The SMA reaches its p-cycle very quickly and the most probable length of the -cycle is 1.