Post by JJ Post by email@example.com
Hi,i am new in assembly coding. i want to do some memory address manipulation for my project
what i want is to save a memory address in a Register then done some manipulation on that address like changing the address and so on, then get the data from the newly updated address.
So far i am not able to do it.
i am using nasm.
..fmt db '%d',0x0d,0x0a,0
Your problem is not an assembly issue. But a problem understanding what kind
of value is expected by a function's argument.
can you help me with that?
i can get the data from a particular memory location using section data, but i want to use registers, cause i want to change the address dynamically which i can'y do with section data
lea si , [000000H]
lea di ,[test1]
test1: dd 00h
then i am getting output of 2 bytes.
but if i try to move the address to the register and then try to print it, its not printing anything, no error nothing just blank.section .data
mov eax, [ecx]
i just wanna know what is there that i am doing wrong.
In the end, I just want to get the data from a particular memory location using registers not using section data. is there any way?