Translation from NASM to GAS
问题 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 :) 回答1: How about intel2gas? usage: intel2gas [options] [-o outfile] [infile] where options include: -h this help -i convert from intel to at&t format (default) -g convert from at&t to intel format -m -t