[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To NOP, or not to NOP...




Zeros are bad.  Noop is a different instruction.  0 is a odd
instruction that will cause the computer to reset (been there, done
that).

I would use the Noop, though I have never put less code in place that
what GM originally had.  I usually put a jump to someplace, the new
code, and then a jump back to resume the GM code.  Though I usually
have to put 1-2 instructions that GM originally wrote in the jmp that
was misplaced by the jump instruction.

		Roger

On Sat, 4 Mar 2000, Shannen Durphey wrote:

> If I want to replace sections of code, say replacing 8 bytes with 4,
> should I fill the remaining 4 bytes with zeros?  Should I try to keep
> the same number of "steps" the ecm used up with the old code?
> 
> Shannen

> 
>