Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/28/01 16:26
Read: times


 
#18154 - RE: Part 2:To code a jmp table properly
The above miss a VERY important part.

before the AJMP you must code
CJNE a,#MAX,test
jmp ok

test: jc ok
ljmp CRASH

Umpteen problems of runaway code I have found has been due to this test missing and the accumulator too high because of erroneous code or code update.

Have fun,

Erik

List of 9 messages in thread
TopicAuthorDate
Part 2:To code a jmp table properly            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      
RE: aka - j            01/01/70 00:00      
RE: aka - j            01/01/70 00:00      
RE: Part 2:To code a jmp table properly            01/01/70 00:00      

Back to Subject List