{
Start(0x1c,10,x,x,x,x,x) //Watches all incomming 1C messages for area 10.
copy @0,~0,7 //Copy the msg to ~0-6. ~1 is area, ~3 is preset.
LDA ~3 //Get Preset byte (The Op code)
CMP #0x00 //Does the Preset Byte match Preset1?
BRZ P1 //If it matches branch to P1: Label. If not continue.
CMP #0x03 //Does the Preset Byte match Preset4?
BRZ P4 //If it matches branch to P4: Label. If not continue.
Null //Stop. Do not pass go. Do not collect $200.
P1: //This is where you do something if the preset was P1.
Null
P4:
//No Null needed here. It is the end of the task.
}