| ??? 01/12/08 06:56 Read: times |
#149346 - the question Responding to: ???'s previous message |
I think i'm ok to forum rules.
The question is: I want to create a structure like the pascal CASE, instead of using many CJNE, I was thinking in using just one relative jump like: SJMP A instruction if A=1 instruction if A=2 instruction if A=3 instruction if A=4 .... I know this dont work, but, how can I make something like this? SJMP A would jump one line if a=1, two lines if a=2 understand? Another answer is, how can I read PC and how can I put PC in DPTR? Thanks. |



