In DDD
, if I try to access a variable via x $value
I get the error Value can't be converted to integer
Can u tell me what am I doing wrong?
Here is my example:
section .data
value dd 3
result dd 0h
section .text
global main
main:
mov ebx,4
add ebx,[value]
mov [result],ebx
mov eax,1
mov ebx,0
int 80h
you have to use the following syntax:
x/db &bnum1
x/dh &wnum2
x/dw &dnum3
x/dg &qnum
x/s &class
x/f &twopi
Example:
x/dd &value1