TASK statement

Top  Previous  Next

task statement  = "TASK", new identifier, task attributes;

task attributes = "{" {task attribute} "}" | {task attribute};

task attribute  = "INS",  "=", constant           |

                  "OUTS", "=", constant           |

                  "FILE", "=", task file spec     |

                  "OPT", "=", opt area            |

                  "PRIORITY", "=", constant       |

                  "URGENT"                        |

                  logical area, "=", memory amount;

opt area        = logical area, {":", location};

logical area    = "CODE" | "STATIC" | "STACK" |

                  "HEAP" | "DATA" | user section;

memory amount   = constant | "?";

task file spec  = identifier | string constant;

location        = physical area | address;

address         = constant;

user section    = string constant;

 

A TASK statement declares a task, and may contain a number of task attribute clauses, each of which describes some aspect of the task. The task's attributes may appear in any order within the statement.