Hello,
I've searched and searched but can't find out what I'm doing wrong here, I've even looked at the disassembly and can't figure out what I'm doing wrong. When I build, I get no errors or problems, when I go to debug, I get a pop up saying there is a "Load program Error" and the .out could not be opened. All I'm trying to do is turn on an LED on the launchpad board. When I use C I can turn the LED on, when using the following line I get an error.
I'm sure my error is a syntax one with inline assembly but since I've copied the disassembly and what I fine on the web I'm not sure what could be going wrong. Please help! Thanks.
__asm( "BIS.B #0x0040,&Port_1_2_P1OUT \r\n" );
// ^ above line produces the error.