Other Parts Discussed in Thread: MSP430FR5969
I realise most will think this an odd question, but can anyone show me skeleton State Machine code in Assembler?
Many decades ago I designed a telephone answering machine using an 8051 using a State Machine to control everything. It was messy crossing page boundaries (an 8-bit machine) and I think it should be easier using an MSP430. But, since I got a complete remote controlled, voice synthesis answering machine in 1kB of code (8048 version of 8051), using Assembler, I would like to try to see how compact an MSP430 Assembler State Machine could be.
The State Machine comprised nested Master and Sub States and was extremely simple to change and fault-find since all functions could be isolated and tested separately.
Unfortunately, there is a dearth of information on Assembly programming for the MSP430s so if anyone could help, I would appreciate it - mainly, I guess, how do I do conditional Jumps, and are there page limitations on how far I can Jump?
Cheers - John