Is there anyone here that knows how to step in a buffer?
Since I have problem with putting the whole code in this editor I try to explain my problem without the whole code.
Lets say that I have a buffer declared as:
Code:
INBUFFER: .skip 128
In order to read this I step through the buffer in the positions 0 to 6. So, in my subroutines I first read 314, put it in a new buffer, OUTBUFFER, and then I put the +sign and thereafter the program shall start to read the number 5 at position 4. But this doesn't work out for me.
Here's how I try to do it.
Code:
getinpos:
movl START_INPOS, %ecx
movl %ecx, %ebx
getchar:
movl $INBUFFERT, %ebx
Can anyone help me here?
Anders
