try twice...
Hello to all,
I have to programm a TI MSP430 in Forth. My problem is, that I'm not able to write in the status register or in IE1. I can write in other control registers like the ADC12CTL1 e.g. but i can't handle the interrupts.
I'm using the following forth code to call the command "DINT":
code /DisableInt DINT RET end-code
It also dosn't work when I'm using
code /DisableInt
8 # SR & bic.b RET end-code
And there is no fault or problem when I want to write anything to IE1. There's just no change in IE1 after writing.
Does anybody knows what's my mistake? What do I have to attend before writing to IE1 or before using the DINT-Command?
Thank you,
Chris