![background image](http://html1.mh-extra.com/html/texas-instruments/msp50c6xx/msp50c6xx_user-manual_1097068351.webp)
C– – Efficiency
5-55
Code Development Tools
writeCharacter(’:’);
writeNum(time[WIDTH*0+2]); //seconds
writeCharacter(’ ’);
if(time[WIDTH*1+1]==0){ //ampm
writeCharacter(’A’);
}
else{
writeCharacter(’P’);
}
writeCharacter(’M’);
writeCharacter(’ ’);
switch(time[WIDTH*1+0]){ //days
case 0:
writeCharacter(’M’);
writeCharacter(’O’);
writeCharacter(’N’);
break;
case 1:
writeCharacter(’T’);
writeCharacter(’U’);
writeCharacter(’E’);
break;
case 2:
writeCharacter(’W’);
writeCharacter(’E’);
writeCharacter(’D’);
break;
case 3:
writeCharacter(’T’);
writeCharacter(’H’);
writeCharacter(’U’);
break;
case 4:
writeCharacter(’F’);
writeCharacter(’R’);
writeCharacter(’I’);
break;
case 5:
writeCharacter(’S’);
writeCharacter(’A’);
writeCharacter(’T’);
break;
case 6:
writeCharacter(’S’);
writeCharacter(’U’);
writeCharacter(’N’);
break;
}
switch(pendulum){
case 0:
writeCharacter(’ ’);
writeCharacter(’|’);
rowOne();
for(temp=0; temp<16; temp++) writeCharacter(’ ’);
writeCharacter(’o’);
Summary of Contents for MSP50C6xx
Page 6: ...vi...
Page 14: ...xiv...
Page 24: ...1 10...
Page 296: ...Instruction Set Summay 4 210 Assembly Language Instructions...
Page 366: ...6 12...