µç¹¤Ñ§Ï°Íø

ÕÒ»ØÃÜÂë
Á¢¼´×¢²á

ARMÖ¸Á

2015-3-23 07:58|±à¼­:µç¹¤Ñ§Ï°Íø|²é¿´:23032|ÆÀÂÛ: 0



Ó¦ÓÃʾÀý£º
MLA R1,R2,R3,R0 ; R1=R2¡ÁR3+R0
64λÎÞ·ûºÅ³Ë·¨Ö¸Á¡ªUMULLÖ¸ÁRmºÍRsÖеÄÖµ×÷ÎÞ·ûºÅÊýÏà³Ë£¬½á¹ûµÄµÍ32λ±£´æµ½RdLoÖУ¬¶ø¸ß32λ±£´æµ½RdHiÖС£Ö¸Áî¸ñʽÈçÏ£º
UMULL{cond}{S} RdLo,RdHi,Rm,Rs
Ó¦ÓÃʾÀý£º
UMULL R0,R1,R5,R8 ; (R1¡¢R0)=R5¡ÁR8
64λÎÞ·ûºÅ³Ë¼ÓÖ¸Á¡ªUMLALÖ¸ÁRmºÍRsÖеÄÖµ×÷ÎÞ·ûºÅÊýÏà³Ë£¬64λ³Ë»ýÓëRdHi¡¢RdLoÏà¼Ó£¬½á¹ûµÄµÍ32λ±£´æµ½RdLoÖУ¬¶ø¸ß32λ±£´æµ½RdHiÖС£Ö¸Áî¸ñʽÈçÏ£º
UMLAL{cond}{S} RdLo,RdHi,Rm,Rs
Ó¦ÓÃʾÀý£º
UMLAL R0,R1,R5,R8 ;(R1¡¢R0)=R5¡ÁR8+(R1¡¢R0)
64λÓзûºÅ³Ë·¨Ö¸Á¡ªSMULLÖ¸ÁRmºÍRsÖеÄÖµ×÷ÓзûºÅÊýÏà³Ë£¬½á¹ûµÄµÍ32λ±£´æµ½ RdLoÖУ¬¶ø¸ß32λ±£´æµ½RdHiÖС£Ö¸Áî¸ñʽÈçÏ£º
SMULL{cond}{S} RdLo,RdHi,Rm,Rs
Ó¦ÓÃʾÀý£º
SMULL R2,R3,R7,R6 ; (R3¡¢R2)=R7¡ÁR6
64λÓзûºÅ³Ë¼ÓÖ¸Á¡ªSMLALÖ¸ÁRmºÍRsÖеÄÖµ×÷ÓзûºÅÊýÏà³Ë£¬64λ³Ë»ýÓëRdHi¡¢RdLoÏà¼Ó£¬½á¹ûµÄµÍ32λ±£´æµ½RdLoÖУ¬¶ø¸ß32λ±£´æµ½RdHiÖС£Ö¸Áî¸ñʽÈçÏ£º
SMLAL{cond}{S} RdLo,RdHi,Rm,Rs
Ó¦ÓÃʾÀý£º
SMLAL R2,R3,R7,R6 ; (R3¡¢R2)=R7¡ÁR6+(R3¡¢R2)
ARMÖ¸Á¡ª¡ª·ÖÖ§Ö¸Áî
ÔÚARMÖÐÓÐÁ½ÖÖ·½Ê½¿ÉÒÔʵÏÖ³ÌÐòµÄÌøת£¬Ò»ÖÖÊÇʹÓ÷ÖÖ§Ö¸ÁîÖ±½ÓÌøת£¬ÁíÒ»ÖÖÔòÊÇÖ±½ÓÏòPC¼Ä´æÆ÷¸³ÖµÊµÏÖÌøת¡£ ·ÖÖ§Ö¸ÁîÓÐÒÔÏÂÈýÖÖ£º£¨1£©·ÖÖ§Ö¸ÁîB£»£¨2£©´øÁ´½ÓµÄ·ÖÖ§Ö¸ÁîBL£»£¨3£©´ø״̬Çл»µÄ·ÖÖ§Ö¸ÁîBX¡£
·ÖÖ§Ö¸Á¡ªBÖ¸Á¸ÃÖ¸ÁîÌøת·¶Î§ÏÞÖÆÔÚµ±Ç°Ö¸ÁîµÄ¡À32M×Ö½ÚµØÖ·ÄÚ(ARMÖ¸ÁîΪ×Ö¶ÔÆ룬×îµÍ2λµØÖ·¹Ì¶¨Îª0)¡£Ö¸Áî¸ñʽÈçÏ£ºB{cond} Label
Ó¦ÓÃʾÀý£º
B WAITA ; Ìøתµ½WAITA±êºÅ´¦
B 0x1234 ; Ìøתµ½¾ø¶ÔµØÖ·0x1234´¦
´øÁ´½ÓµÄ·ÖÖ§Ö¸Á¡ªBLÖ¸ÁîÊÊÓÃÓÚ×Ó³ÌÐòµ÷Óã¬Ê¹ÓøÃÖ¸Áîºó£¬ÏÂÒ»ÌõÖ¸ÁîµÄµØÖ·±»¿½±´ µ½R14(¼´LR) Á¬½Ó¼Ä´æÆ÷ÖУ¬È»ºóÌøתµ½Ö¸¶¨µØÖ·ÔËÐгÌÐò¡£Ìøת·¶Î§ÏÞÖÆÔÚµ±Ç°Ö¸ÁîµÄ¡À32M×Ö½ÚµØÖ·ÄÚ¡£Ö¸Áî¸ñʽÈçÏ£ºBL{cond} Label
´øÁ´½ÓµÄ·ÖÖ§Ö¸Á¡ªBL£¬Ö¸ÁîÊÊÓÃÓÚ×Ó³ÌÐòµ÷Óã¬Ê¹ÓøÃÖ¸Áîºó£¬ÏÂÒ»ÌõÖ¸ÁîµÄµØÖ·±»¿½±´µ½R14(¼´LR) Á¬½Ó¼Ä´æÆ÷ÖУ¬È»ºóÌøתµ½Ö¸¶¨µØÖ·ÔËÐгÌÐò¡£Ìøת·¶Î§ÏÞÖÆÔÚµ±Ç°Ö¸ÁîµÄ¡À32M×Ö½ÚµØÖ·ÄÚ¡£Ö¸Áî¸ñʽÈçÏ£ºBL{cond} Label
Ó¦ÓÃʾÀý£º
BL DELAY ; µ÷ÓÃ×Ó³ÌÐòDELAY
´ø״̬Çл»µÄ·ÖÖ§Ö¸Á¡ªBXÖ¸Á¸ÃÖ¸Áî¿ÉÒÔ¸ù¾ÝÌøתµØÖ·£¨Rm£©µÄ×îµÍλÀ´Çл»´¦ÀíÆ÷״̬¡£ÆäÌøת·¶Î§ÏÞÖÆÔÚµ±Ç°Ö¸ÁîµÄ¡À32M×Ö½ÚµØÖ·ÄÚ(ARMÖ¸ÁîΪ×Ö¶ÔÆ룬×îµÍ2λµØÖ·¹Ì¶¨Îª0)¡£Ö¸Áî¸ñʽÈçÏ£º BX{cond} Rm
Ó¦ÓÃʾÀý£º
ADRL R0,ThumbFun+1 ;½«Thumb³ÌÐòµÄÈë¿ÚµØÖ·¼Ó1´æÈëR0BX R0 ; Ìøתµ½R0Ö¸¶¨µÄµØÖ·£¬²¢¸ù¾ÝR0µÄ×îµÍλÀ´Çл»´¦ÀíÆ÷״̬
ARMÖ¸Á¡ª¡ªÐ­´¦ÀíÆ÷Ö¸Áî
ARMÄÚºËÖ§³ÖЭ´¦ÀíÆ÷²Ù×÷£¬Ð­´¦ÀíÆ÷µÄ¿ØÖÆҪͨ¹ýЭ´¦ÀíÆ÷ÃüÁîʵÏÖ¡£
ARMЭ´¦ÀíÆ÷Ö¸Á¡ªÊý¾Ý²Ù×÷Ö¸Áî
ARM´¦ÀíÆ÷ͨ¹ýCDPÖ¸Áî֪ͨARMЭ´¦ÀíÆ÷Ö´ÐÐÌض¨µÄ²Ù×÷¡£¸Ã²Ù×÷ÓÉЭ´¦ÀíÆ÷Íê³É£¬¼´¶ÔÃüÁîµÄ²ÎÊýµÄ½âÊÍÓëЭ´¦ÀíÆ÷Óйأ¬Ö¸ÁîµÄʹÓÃÈ¡¾öÓÚЭ´¦ÀíÆ÷¡£ÈôЭ´¦ÀíÆ÷²»Äܳɹ¦µØÖ´ÐиòÙ×÷£¬½«²úÉú䶨ÒåÖ¸ÁîÒì³£Öжϡ£Ö¸Áî¸ñʽÈçÏ£º

1 2 3 4 5 ÏÂÒ»Ò³

¿´¹ý¡¶ARMÖ¸Á¡·µÄÈË»¹¿´ÁËÒÔÏÂÎÄÕÂ:

·¢±íÆÀÂÛ

×îÐÂÆÀÂÛ

  • ǶÈëʽ¿ª·¢µ½µ×ÊÇ×öʲôµÄ£¿
  • FPGAоƬ½á¹¹
  • FPGA¹¤×÷Ô­Àí
  • ǶÈëʽѧϰ·½·¨ÓëÐĵÃ
  • ǶÈëʽÈí¼þ¹¤³Ìʦ±ØÐëÒªÕÆÎÕÄÄЩ֪ʶ
  • ǶÈëʽϵͳ¿ª·¢µÄ¿É¿¿ÐÔÉè¼Æ
ÈȵãÎÄÕÂ

µç¹¤Ñ§Ï°Íø()

GMT+8, 2021-12-6 20:44

Powered by © 2011-2021www.shop-samurai.com°æȨËùÓÐÃâÔðÉùÃ÷²»Á¼ÐÅÏ¢¾Ù±¨

¼¼ÊõÇý¶¯Î´À´!µç¹¤Ñ§Ï°Íø¡ª×¨Òµµç¹¤»ù´¡ÖªÊ¶¡¢µç¹¤¼¼ÊõѧϰÍøÕ¾¡£

À¸Ä¿µ¼º½£º¹¤¿Ø¼ÒÔ°|ÈýÁâplc|Î÷ÃÅ×Óplc|Å·Ä·Áúplc|plcÊÓƵ½Ì³Ì

·µ»Ø¶¥²¿