[Oberon] In Spirit of Oberon
Douglas G. Danforth
danforth at greenwoodfarm.com
Sun May 11 21:58:30 CEST 2014
On 5/11/2014 4:55 AM, Andreas Baumann wrote:
> Am 10.05.2014 um 17:59 schrieb volkert at nivoba.de:
>
> Oberon shows that you can develop software in a flexible way with a relative*small*set of language constructs.
>
Three instruction is all that are needed.
(1): { INC ( r ), DEC ( r ), JZ ( r,z ) }, i.e.
{ INCrement contents of register #r; DECrement contents of
register #r; IF contents of #r=Zero THEN Jump-to Instruction #z}
OR
(2): { CLR ( r ); INC ( r ); JE ( r_i , r_j , z ) }, i.e.
{ CLeaR contents of register r; INCrement contents of r; compare
contents of r_i to r_j and if Equal then Jump to instruction z}
Equivalent to a Turning machine.
-Doug Danforth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/oberon/attachments/20140511/fb6013fe/attachment.html
More information about the Oberon
mailing list