Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkSPI ASM Assembler Issues #18

Closed
GearsProgress opened this issue Feb 6, 2024 · 1 comment
Closed

LinkSPI ASM Assembler Issues #18

GearsProgress opened this issue Feb 6, 2024 · 1 comment

Comments

@GearsProgress
Copy link

Hello!

I'm currently using LinkSPI.hpp in one of my projects and it has been working really well! However, recently I have been getting some assembler errors:

C:\Users\~1\AppData\Local\Temp\ccavpXSf.s: Assembler messages:
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3698: Error: MOV Rd, Rs with two low registers is not permitted on this architecture -- `mov R2,r7'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3701: Error: cannot honor width suffix -- `and R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3704: Error: cannot honor width suffix -- `orr R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3844: Error: MOV Rd, Rs with two low registers is not permitted on this architecture -- `mov R2,r7'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3847: Error: cannot honor width suffix -- `and R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3850: Error: cannot honor width suffix -- `orr R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3990: Error: MOV Rd, Rs with two low registers is not permitted on this architecture -- `mov R2,r6'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3993: Error: cannot honor width suffix -- `and R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:3996: Error: cannot honor width suffix -- `orr R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:4202: Error: cannot honor width suffix -- `and R0,R0,R1'
C:\Users\~1\AppData\Local\Temp\ccavpXSf.s:4205: Error: cannot honor width suffix -- `orr R0,R0,R1'

I'm having some issues figuring out exactly where the problem lies. If you have any tips on where I should look or any ideas what the problem may be, please let me know. Any assistance would be greatly appreciated!

Thank you!!

@afska afska closed this as completed in b8540e7 Feb 7, 2024
@afska
Copy link
Owner

afska commented Feb 7, 2024

I've removed the inline assembly. This was the result of a test where I was trying to determine why wireless multiboot wasn't working correctly and timing was critical. However, it turned out that the issue was actually a bug in the acknowledge procedure, so this change wasn't necessary.

Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants