AVR汇编语言实现 10!为什么不对?
其实,这个问题,很多人都在纠结哦。迟点说下吧,应该大家都知道的。
求汇编完整成将AX寄存器中的16位数分成4组每组4位然后把这四组数分别放在AL BL CL DL?
将AX寄存器中的16位数分为4组,每组4位,然后把这四位数分别放在AL,BL,CL,DL中-Will the register AX 16 digit is divided into four groups of four, then put these four digits were in AL, BL, CL, DL
ldi r17 $1
ldi r18 $1
ldi r16 $11
loop:mul r17,r18
mov r17,r0
inc r18
cp r18,r16
brne loop
nop
其实,这个问题,很多人都在纠结哦。迟点说下吧,应该大家都知道的。
求汇编完整成将AX寄存器中的16位数分成4组每组4位然后把这四组数分别放在AL BL CL DL?
将AX寄存器中的16位数分为4组,每组4位,然后把这四位数分别放在AL,BL,CL,DL中-Will the register AX 16 digit is divided into four groups of four, then put these four digits were in AL, BL, CL, DL