Assembly '%al' not allowed with 'inw' Error
Posted: Sat Apr 30, 2022 4:01 am
Assembly '%al' not allowed with 'inw' How to Solve the Error I'm Sharing the Screenshot And The Code That Caused The Error.
Error Caused Code:
Error Caused Code:
Code: Select all
__asm__ volatile("inw %1, %0" : "=a" (result) : "Nd" (portnumber));