[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pgubook-readers] Chapter 3: Ending address question
From: |
Silesius |
Subject: |
[Pgubook-readers] Chapter 3: Ending address question |
Date: |
Mon, 27 Jun 2005 18:51:51 -0300 |
Hi
there!
Is there any way to
copy the the memory location that holds any number to a register?
I try to
explain: if you want to copy the memory address of data_end to %ecx, you would
use: movl $data_end, %ecx. But if you try to do movl
$data_items(,%edi,4), %ecx - assuming %edi holds the counter - it
gives you an error?
Is there anyway to
do this without using the solution given before in the list? Without using
a counter and adding 4 in each loop?
Thanks!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pgubook-readers] Chapter 3: Ending address question,
Silesius <=