GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:   How can I access memory located at a certain address?



July 07, 2005 12:28:15 #1
 santosh   Member Since: Visitor    Total Comments: N/A 

RE: How can I access memory located at a certain address?
 
This can be done Using _asm{} operator, first  
char* mem_ptr; 
Mov EAX, DWORD PTR[Memory Address] 
Then... 
 
Mov mem_ptr, EAX 
 
Now mem_ptr will point to the meory location needed 
and we can access
     

 

Back To Question