So I have some ASM code that needs to get the value pointed by the SI register and store it to AL. I'm new to ASM, so i'm pretty sure an obvious solution exists.
The command i'm using to assemble this is:
gnu -c code.asm -o assembled_code
The code I tried is:
movb (%si), al
but it just gives me error: invalid operand for instruction