how do I translate mov [ebx], al
from NASM to GAS?
I tried mov %al, (%ebx)
but it does segmentatiob fault.
Another question, lets say I have an array in GAS .lcomm array, 50
Do I have to put a dollar($) sign in array
like this: mov %rbx, $array
or need not to?
Any answer would be helpful :)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…