1. Correction
- Posted by thomas at columbus.rr.com Jul 02, 2002
- 630 views
Change line 7 to: OriginalNumber = sprintf( "%f", num ) Thanks, Unkmar. ~Tom
2. Correction
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Apr 13, 1998
- 609 views
> lea edx, [edx + edx*4] > lea edx, [edx*4] > mov [ebx + edx*4 + #A0000], cl should read: lea edx, [edx + edx*4] lea edx, [edx*8] mov [ebx + edx*8 + #A0000], cl ... lea means "load effective address", which would seem pretty useless, except for the fact the memory addresses can contain some simple calculations... the preceding code evaluates to: edx = (y + y*4) (5*y) edx = edx * 8 (40*y) poke(ebx + edx*8 + #A0000, cl) = poke(x + 40*y*8 + #A0000, cl) = poke(x + 320*y + #A0000, cl) -- _____ _____ _____ ________ /\ \ /\ \ /\ \ / \ \ / \____\ / \____\ / \____\ / _ \____\ / / ___/_ / /____/ / / ___/_ / / \ |____|/ / /\____\ / \ \ / / /\____\ \ \_/ / / \ \/ / ___/_\ \ \ \ \/ / ___/_ \ /____/ \ / /\ \\/\ \ \ \ / /\ \ \ \ \ \ \/ \____\ \ \ \ \ \/ \____\ \ \ \ \ / / \ \____\ \ / / \ \____\ \ / / \ / / \ / / \ / / \ / / \/____/ \ / / \/____/ \/____/xseal at harborside.com\/____/