home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,002 of 4,675   
   JJ to All   
   Re: register pointer to memory   
   15 Jan 20 20:18:44   
   
   From: jj4public@nospicedham.vfemail.net   
      
   On Tue, 14 Jan 2020 00:47:38 -0800 (PST), 2018peb5224@nospicedham.mnit.ac.in   
   wrote:   
   > 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.   
   >   
   > mov ebx,000000h   
   > add ebx,000230h   
   > mov eax,[ebx]   
   > push eax   
   > push .fmt   
   > call _printf   
   > ret   
   >   
   > ..fmt  db '%d',0x0d,0x0a,0   
   >   
   > Thanks   
      
   Your problem is not an assembly issue. But a problem understanding what kind   
   of value is expected by a function's argument.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca