flat assembler
Message board for the users of flat assembler.
Index
> Main > x86 CPU bug! |
Author |
|
MazeGen 23 Jun 2006, 13:39
Did you take into account the following quote from the Intel manual?
Quote: Use the REP INS and REP OUTS instructions with caution. Not all I/O ports can handle the rate at which these instructions execute. |
|||
23 Jun 2006, 13:39 |
|
lazer1 23 Jun 2006, 14:57
MazeGen wrote: Did you take into account the following quote from the Intel manual? that's not the problem here as rep insw does function if I use 0f000h as a buffer, malfunction if I use 2????h as a buffer, |
|||
23 Jun 2006, 14:57 |
|
vid 23 Jun 2006, 15:13
try to overlap it ofer 10000h boundary to see if that's the problem. like
Code: push ff0h pop es xor di,di ;es:di = ff00 mov cx, 200h rep insb if first 100h bytes is okay and second 100h bytes isn't, then it IS bug (or limitation) |
|||
23 Jun 2006, 15:13 |
|
lazer1 24 Jun 2006, 11:49
ok, I've found what the problem was,
it wasnt a bug, what happened was I was echoing via: mov al,[ds:.buffer + ecx] when I should have done: mov al,[ds:.buffer and 0ffffh + ecx] |
|||
24 Jun 2006, 11:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.