??????5????ü????????

????????????????????????????register????????????????????????????????????????У????????????У??????????????????????????????????????????????????????????????

??????6????????????????????

???????????????????????????????????????????????????????????????????????????????CPU????????????????? ?????????????????????????д??????????????????????

x=x+1;

??????′???????????????????????????????????

????move A??x;??x?????????????????A
????add A??1;?????A??1
????store x;????????x

?????????????????????????????????£?

????incr x;x??1

????????????????????????????????????е????????????????????

??????7????????????ò???

???????????????????????????????Ч????????????????????ò??????????????????????????????????????????????????????????黯???????????????á?

??????8??Switch????и???????????????case????

????switch???????????????????????????????if-else-if???????????????????б?????????????????????????????????С?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????仰??????????????????????λ?????????????????

??????9???????switch????????switch???

??????switch????е?case???????????????????????????????????switch????????switch?????????????case ?????????switch????У??????????switch??????????????????????case???????????switch????С????磬????????????????????????????????case??????

pMsg=ReceiveMessage();
switch (pMsg->type)
{
case FREQUENT_MSG1:
handleFrequentMsg();
break;
case FREQUENT_MSG2:
handleFrequentMsg2();
break;
......
case FREQUENT_MSGn:
handleFrequentMsgn();
break;
default:          //????????????????????????????
switch (pMsg->type)
{
case INFREQUENT_MSG1:
handleInfrequentMsg1();
break;
case INFREQUENT_MSG2:
handleInfrequentMsg2();
break;
......
case INFREQUENT_MSGm:
handleInfrequentMsgm();
break;
}
}