Jump to content

Inline Assembly And Rs232 Functions

Recommended Posts



I can not use inline assembly code and can not use rs232-functions!

If I want to compile the code


void setup(void)
	banksel trisc
	movlw	b'01000000'
	movwf	trisc


I get the following error



D:\Programme\SourceBoost\Samples\C\Casm4Usart\Casm4Usart.c(16): error: error in built-in assembly


Have you got an idea why inline assembly code and the rs232-functions described in "serial_driver.h" do not work in both versions IDE 6.33 and 6.35 I installed ?






Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...