| ??? 06/13/07 15:17 Read: times |
#140677 - well... around 5 minutes Responding to: ???'s previous message |
$MODP89V51RD2
XDATA
buf1: DS 48
buf2: DS 48
CODE
bmove:
mov dptr,#buf1
inc auxr1
mov dptr,#buf2
inc auxr2
mov r2,#49
bmoveX1:
movx a,@dptr
inc auxr1
movx @dptr,a
inc auxr1
djnz r2,bmoveX1
ret
OK, you gave me a trivial example where the raw typing overweights analysis and debugging, which is not a realistic case. JW |



