python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How do you understand 'REX.W + B8+ rd io' form for x86-64 assembly?
I was originally trying to generate the bytes for an immediate move into a 64 bit register.The specific operation I wanted was
mov rdi, 0x1337
Using https://www.felixcloutier.com/x86/mov, the only no...
Happy Jerry
Votes: 0
Answers: 1
Address of an ASM label in GDB
I'm confused about the use of "&" when examining a label using GDB.
I'm following a book from 2008. The author's debugger apparently shows the value stored at the label. However, I can'...

Lorem Ipsum
Votes: 0
Answers: 1
KDBG ASM view array element address and value with relative address displacement
KDBG version: 3.0.1.
I have a 10x10 matrix defined in C, such as: char myArray[10][10] = { ' ', 'x', ... }, used on ASM.
In ASM I use the following line to compare the value of two chars:
cmp BYTE[myA...
tec
Votes: 0
Answers: 1
Runtime error while using %arg marco in NASM
extern printf
section .text
global add_one
add_one:
%push func_addone
%stacksize flat64
%arg a:qword
inc qword [a]
mov rax, [a]
ret
%pop
global ma...
szdytom
Votes: 0
Answers: 0