??? 11/19/07 14:24 Read: times |
#147189 - Does it works..? Responding to: ???'s previous message |
; CJP jumps if arg1 > arg2 cjp MACRO dato1,dato2,salto cjne dato1,dato2,$+6 sjmp $+7 jc $+5 ljmp salto ENDM What is "salto" here ? If the cjne instruction is satisfied(as dato1>dato2) the program will jump to $+6 ,it would also jump if dato1<dato2 hence the remaining code does not come in picture at all.How does this code works. |
Topic | Author | Date |
Extended opcode | 01/01/70 00:00 | |
You mean this? | 01/01/70 00:00 | |
Translating | 01/01/70 00:00 | |
Updated | 01/01/70 00:00 | |
Macro | 01/01/70 00:00 | |
Macro | 01/01/70 00:00 | |
Macro - widespread, general term. | 01/01/70 00:00 | |
The idea is | 01/01/70 00:00 | |
Does it works..? | 01/01/70 00:00 | |
Check CJNE | 01/01/70 00:00 | |
Thanks Robert | 01/01/70 00:00 |