Execute Computer/Zero: Difference between revisions
Content added Content deleted
(Added Algol 68) |
(→{{header|ALGOL 68}}: Initialise the memory before loading the program) |
||
Line 31: | Line 31: | ||
BEGIN |
BEGIN |
||
[ 0 : 31 ]INT m; # the computer 32 has bytes of memory # |
[ 0 : 31 ]INT m; # the computer 32 has bytes of memory # |
||
FOR i FROM LWB m TO UPB m DO m[ i ] := 0 OD; |
|||
# "assemble" the program # |
# "assemble" the program # |
||
INT m pos := -1; |
INT m pos := -1; |