51单片机倒序指令(汇编语言)

2025-01-21 15:37:54
推荐回答(1个)
回答1:

FUNC:
   MOV R0, #0
   MOV R7, #8
LOOP:
   RLC A
   XCH A, R0
   RRC A
   XCH A, R0
   DJNZ R7, LOOP
   MOV A, R0
   RET