Jump to content
jerryl

In Line Assembly - Lfsr

Recommended Posts

I cant get this in line assembler code to assemble. I Compiling using Sourceboost C Pro 6.9 under MPLAB IDE.

 

asm

{

LSFR 0,0x854

}

 

everything else does fine. Am I doing something stoopid?

Share this post


Link to post
Share on other sites

Apart from the spelling of your instruction it's the assembler that seemd to be stoopid. :(

 

Cheers

 

Reynard

Share this post


Link to post
Share on other sites
Apart from the spelling of your instruction it's the assembler that seemd to be stoopid. :(

 

Cheers

 

Reynard

 

Thanks for your really fast reply... Agreed, my typing skills are less than optimum (way less). Is this a newly reported problem? I can use a work-around with a few instuctions and achieve the same results, but since this is inside a loop, it would be nice to reduce the time. Are there any plans to address the problem? Thanks... Jerryl

Edited by jerryl

Share this post


Link to post
Share on other sites

I just checked the compiler and there seems to be a problem with processing of LFSR instruction. Apparently compiler only uses one argument with this instruction. We have added this into out todo list and will try to fix by the next release.

 

Regards,

Pavel

Share this post


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.

Guest
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.

Loading...

×
×
  • Create New...