python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
why sometimes use offset flat:label and sometimes not
I'm learning assembly using GNU Assembler using the Intel syntax and there is one think that I don't really understand. Say for example this code right here :
.intel_syntax noprefix
.data
string: .asc...
Liwinux
Votes: 0
Answers: 1
gcc inline assembly: how to use intel syntax temporarily with constraint 'm' under 'gcc -masm=att'
I'd like to use intel syntax gcc inline assembly, leaving gcc's default -masm=att dialect untouched.
The following code works fine:
#include <stdio.h>
int main(int argc, char *argv[])
{
int...
Wot
Votes: 0
Answers: 0
Syntax for indirect jump in GAS (Intel syntax): double brackets and/or OFFSET as part of the addressing mode?
For an indirect jump to the address stored in L + 8 in 64-bit mode,
nasm accepts,
jmp [L + 8]
jmp qword [L + 8]
GNU as accepts,
jmp [L + 8]
jmp qword ptr [L + 8]
and also,
jmp [[L + 8]]
jmp [qword p...
xiver77
Votes: 0
Answers: 0