i want to perform descending order of 10 bytes array.. i am facing problem while executing for entering numbers in memory to operate ..i followed this steps- 1.built done properly without error and warning. 2. debug start/ stop 3. edited memory location using modify option using right click in memory window 4. den i did run option 5. but there was no change.. or sorting in descending order. please help... my code is ; descending order ORG 0000H SJMP START
ORG 7000H DB 21H DB 34H DB 65H
ORG 0020H START: MOV R0, #0AH L1: MOV DPTR,#7000H MOV R1, #09H L2: MOV R2, DPL MOVX A,@DPTR MOV 0F0H, A INC DPTR MOVX A,@DPTR CJNE A, 0F0H, DN AJMP SKIP DN: JC SKIP MOV DPL, R2 MOVX @DPTR,A INC DPTR MOV A, 0F0H MOVX @DPTR,A SKIP: DJNZ R1,L2 DJNZ R0,L1 L3: SJMP L3 END
You think you're short of time?
You think we have time to spare to decrypt your incorrectly formatted post?
You'd better think again.
... is to follow the posting instructions.
Erik