左右移

我要報(bào)錯
  • 51P0,P1左右移

    buf1 equ 30hbuf2 equ 31hbuf_b1 bit 00hbuf_b2 bit 01horg 0000hajmpstartorg0030hstart:;mov buf1,#0ffhmov buf2,#0ffhmov a,#00hclr buf_b1;clr buf_b2;mov r2,#08h;循環(huán)八次。loop:mov a,buf1;mov c,buf_b1;rlc